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
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |