Skip to content

Commit

Permalink
Falling back to default token if app token not available in build wor…
Browse files Browse the repository at this point in the history
…kflow (#4133)
  • Loading branch information
CatChen authored Sep 5, 2024
1 parent 1186ef5 commit 6bfbef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.head_ref }}
token: ${{ steps.get-github-app-token.outputs.token }}
token: ${{ steps.get-github-app-token.outputs.token || github.token }}

- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
fail-if-not-clean: ${{ github.actor != 'dependabot[bot]' || github.actor_id != 49699333 }}
push-if-not-clean: true
request-changes-if-not-clean: false
push-token: ${{ steps.get-github-app-token.outputs.token }}
push-token: ${{ steps.get-github-app-token.outputs.token || github.token }}

0 comments on commit 6bfbef4

Please sign in to comment.