Skip to content

Commit 847303d

Browse files
authored
fix: Use the token input or env (#361)
1 parent 556f9f2 commit 847303d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/actions/update-gitops/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ runs:
4343
uses: actions/checkout@v4
4444
with:
4545
repository: ${{ inputs.GITOPS_REPOSITORY }}
46-
token: ${{ env.GITOPS_PAT }}
46+
token: ${{ inputs.GH_TOKEN || env.GITOPS_PAT || github.token }}
4747
ref: ${{ github.head_ref }}
4848
path: gitops
4949

0 commit comments

Comments
 (0)