Skip to content

Commit

Permalink
Update 'advance upstream forks' action to use new fine-grained tokens (
Browse files Browse the repository at this point in the history
…iree-org#11478)

GitHub has new personal access tokens that allow finer-grained controls
over what can be accessed. We've been asked to migrate to these new
tokens. I've created a new secret with such a token. I'm trying it out
here first, since this workflow is not particularly critical. Once all
workflows are migrated to this token, I may duplicate it as
`WRITE_ACCESS_TOKEN` and switch them all back to that, so that we can
keep the old name, but I didn't want to update the value all at once
and break everything.

skip-ci: Doesn't affect CI workflows.
  • Loading branch information
GMNGeoffrey authored Dec 8, 2022
1 parent 5e6e635 commit fa353d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/advance_upstream_forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Checking out repository
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v2.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
token: ${{ secrets.FG_WRITE_ACCESS_TOKEN }}
repository: iree-org/iree-llvm-fork
ref: main

Expand All @@ -34,7 +34,7 @@ jobs:
- name: Pushing changes
uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
github_token: ${{ secrets.FG_WRITE_ACCESS_TOKEN }}
branch: main
repository: iree-org/iree-llvm-fork

Expand All @@ -47,7 +47,7 @@ jobs:
- name: Checking out repository
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v2.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
token: ${{ secrets.FG_WRITE_ACCESS_TOKEN }}
repository: iree-org/iree-mhlo-fork
ref: master

Expand All @@ -58,7 +58,7 @@ jobs:
- name: Pushing changes
uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
github_token: ${{ secrets.FG_WRITE_ACCESS_TOKEN }}
branch: master
repository: iree-org/iree-mhlo-fork

Expand All @@ -71,7 +71,7 @@ jobs:
- name: Checking out repository
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v2.5.0
with:
token: ${{ secrets.WRITE_ACCESS_TOKEN }}
token: ${{ secrets.FG_WRITE_ACCESS_TOKEN }}
repository: iree-org/iree-tf-fork
ref: master

Expand All @@ -82,6 +82,6 @@ jobs:
- name: Pushing changes
uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.WRITE_ACCESS_TOKEN }}
github_token: ${{ secrets.FG_WRITE_ACCESS_TOKEN }}
branch: master
repository: iree-org/iree-tf-fork

0 comments on commit fa353d7

Please sign in to comment.