Fix permission problem when upgrading
This commit is contained in:
1 parent
31b68dd928
commit
6f7df0a37a
1 file changed
+5
@@ -11,6 +11,9 @@ on:
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
override-token:
|
||||
description: '[Optional] Replace the default token with the supplied PAT. Used to resolve `refusing to allow a GitHub App to create or update workflow... `'
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
sync_latest_from_upstream:
|
||||
@@ -20,6 +23,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout target repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ inputs.override-token || secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Current config
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user