Skip to content

Commit

Permalink
Use a specific token for merging to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Jan 31, 2024
1 parent 89585b8 commit 8c378b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tag_and_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ on:
secrets:
ASANA_ACCESS_TOKEN:
required: true
GHA_MERGE_TOKEN:
required: true

jobs:
tag-and-merge:
Expand Down Expand Up @@ -90,6 +92,7 @@ jobs:
id: merge
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GHA_MERGE_TOKEN }}
script: |
github.rest.repos.merge({
owner: context.repo.owner,
Expand Down

0 comments on commit 8c378b3

Please sign in to comment.