summaryrefslogtreecommitdiff
path: root/.github/workflows/update-lock.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-lock.yaml')
-rw-r--r--.github/workflows/update-lock.yaml8
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 }}