Skip to content

Commit

Permalink
chore(ci): fix secret token naming to avoid collision
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Dec 18, 2024
1 parent 9195753 commit c306e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws_tfhe_fast_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: github.event_name == 'pull_request_target'
uses: ./.github/workflows/check_triggering_actor.yml
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}

should-run:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_triggering_actor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Check Triggering Actor
on:
workflow_call:
secrets:
GITHUB_TOKEN:
TOKEN:
required: true

jobs:
Expand All @@ -18,7 +18,7 @@ jobs:
require: write
username: ${{ github.triggering_actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.TOKEN }}

- name: Check User Permission
if: steps.check-access.outputs.require-result == 'false'
Expand Down

0 comments on commit c306e63

Please sign in to comment.