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

Commit

Permalink
Merge pull request #142 from moj-analytical-services/switch-to-fg-pat
Browse files Browse the repository at this point in the history
Replace GitHub secret name with new FG-PAT name
  • Loading branch information
tamsinforbes authored Jul 4, 2024
2 parents 3b4244b + 8c684a2 commit f623dc6
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-collaborators-username.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: Do check
run: ruby bin/check-collaborators-usernames.rb
env:
OPS_BOT_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
OPS_BOT_TOKEN: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
LOG_LEVEL: "info"
2 changes: 1 addition & 1 deletion .github/workflows/check-fork-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- run: python3 scripts/check_fork_status.py
env:
PR_DATA: ${{ toJson(github.event.pull_request) }}
TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
TOKEN: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/close-expired-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
- run: bundle install
- run: bin/close-expired-issues.rb
env:
OPS_BOT_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
OPS_BOT_TOKEN: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
LOG_LEVEL: "info"
2 changes: 1 addition & 1 deletion .github/workflows/create-pr-from-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: ruby bin/create-pr-from-issue.rb
env:
ISSUE: ${{ toJson(github.event.issue) }}
OPS_BOT_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
OPS_BOT_TOKEN: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
REALLY_POST_TO_GH: ${{ secrets.POST_TO_GH }}
NOTIFY_PROD_TOKEN: ${{ secrets.NOTIFY_PROD_TOKEN }}
NOTIFY_TEST_TOKEN: ${{ secrets.NOTIFY_TEST_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-expired-invites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
- run: bundle install
- run: bin/delete-expired-invites.rb
env:
OPS_BOT_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
OPS_BOT_TOKEN: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
LOG_LEVEL: "info"
2 changes: 1 addition & 1 deletion .github/workflows/outside-collaborators-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Check the outside collaborators
run: bin/outside-collaborators.rb
env:
OPS_BOT_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
OPS_BOT_TOKEN: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
NOTIFY_PROD_TOKEN: ${{ secrets.NOTIFY_PROD_TOKEN }}
NOTIFY_TEST_TOKEN: ${{ secrets.NOTIFY_TEST_TOKEN }}
REALLY_POST_TO_SLACK: ${{ secrets.POST_TO_SLACK }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repository-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
- uses: actions/checkout@v4
with:
path: main
- run: bash scripts/repository-check.sh ${{ github.event.inputs.github_user }} ${{ secrets.OPS_BOT_TOKEN }}
- run: bash scripts/repository-check.sh ${{ github.event.inputs.github_user }} ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/targeted-terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
TERRAFORM: terraform
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TF_VAR_github_token: ${{ secrets.OPS_BOT_TOKEN }}
TF_VAR_github_token: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
TF_IN_AUTOMATION: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
TERRAFORM: terraform
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TF_VAR_github_token: ${{ secrets.OPS_BOT_TOKEN }}
TF_VAR_github_token: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
TF_IN_AUTOMATION: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
TERRAFORM: terraform
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TF_VAR_github_token: ${{ secrets.OPS_BOT_TOKEN }}
TF_VAR_github_token: ${{ secrets.MOJAS_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }}
TF_IN_AUTOMATION: true

jobs:
Expand Down

0 comments on commit f623dc6

Please sign in to comment.