Skip to content

Commit

Permalink
Use the same token for checkout and push steps
Browse files Browse the repository at this point in the history
This change ensures that the same token is used in both the `checkout` and `push` steps, aligning with the implementation in [this workflow](https://github.com/liam-hq/liam/blob/97e100449095c6b4720c31bbfae9ddf88cc4ffbf/.github/workflows/license-frontend.yml#L45).

By doing so, the workflow is expected to run even after a push to a pull request.
  • Loading branch information
hoshinotsuyoshi committed Dec 3, 2024
1 parent 97e1004 commit 28ee232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:

- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
sparse-checkout: |
.github
${{ env.working-directory }}
Expand Down

0 comments on commit 28ee232

Please sign in to comment.