Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Remove expired collaborator from Terraform file/s for stubamforthdwp #1601

Remove expired collaborator from Terraform file/s for stubamforthdwp

Remove expired collaborator from Terraform file/s for stubamforthdwp #1601

name: Check collaborators username within a PR
on:
pull_request:
paths: "terraform/**"
env:
RUBY_VERSION: 3.1.0
jobs:
check-collaborators-username:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- run: bundle install
- name: Do check
run: ruby bin/check-collaborators-usernames.rb
env:
OPS_BOT_TOKEN: ${{ secrets.MOJ_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
LOG_LEVEL: "info"