diff options
| author | seth <[email protected]> | 2023-10-30 06:09:38 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-06 22:30:17 +0000 |
| commit | ea6a9e2d5f3dd0d5ff12e80a4669efb21542c00c (patch) | |
| tree | 8183f420472094a0c68fd59db7127c16ecd9d9c1 /.github/workflows/update-lock.yaml | |
| parent | d70e5f53a7339d33aa9b39b7bce4ec9dd2a84ae2 (diff) | |
tree-wide: garnix -> gha
Diffstat (limited to '.github/workflows/update-lock.yaml')
| -rw-r--r-- | .github/workflows/update-lock.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/update-lock.yaml b/.github/workflows/update-lock.yaml index 0bf8b1d..cb70c94 100644 --- a/.github/workflows/update-lock.yaml +++ b/.github/workflows/update-lock.yaml @@ -12,6 +12,10 @@ on: required: false default: "" type: string + secrets: + token: + description: PAT for creating creating/merging the PR + required: true jobs: update: @@ -27,11 +31,11 @@ jobs: commit-msg: ${{ inputs.commit-msg }} inputs: ${{ inputs.inputs }} pr-title: ${{ inputs.commit-msg }} - token: ${{ github.token }} + token: ${{ secrets.token }} - name: enable auto-merge shell: bash run: gh pr merge --auto --rebase "$PR_ID" env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.token }} PR_ID: ${{ steps.update.outputs.pull-request-number }} |
