From 28ee2321eb60eb6518e13790bb6df2686386bc6c Mon Sep 17 00:00:00 2001 From: hoshinotsuyoshi Date: Tue, 3 Dec 2024 21:42:10 +0900 Subject: [PATCH] Use the same token for checkout and push steps 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. --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e18e78a..93cf322e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,7 @@ jobs: - uses: actions/checkout@v4 with: + token: ${{ steps.app-token.outputs.token }} sparse-checkout: | .github ${{ env.working-directory }}