Skip to content

Commit 430dc57

Browse files
committed
secrets -> inputs
1 parent c2d1039 commit 430dc57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/actions/stable-sync/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ inputs:
1313
required: false
1414
description: 'The name of the stable branch to sync to (e.g., stable, main)'
1515
default: 'stable'
16+
github-token:
17+
description: 'GitHub token used for authentication.'
18+
required: true
1619
github-tools-repository:
1720
description: 'The GitHub repository containing the GitHub tools. Defaults to the GitHub tools action repositor, and usually does not need to be changed.'
1821
required: false
@@ -109,7 +112,7 @@ runs:
109112
- name: Create Pull Request
110113
if: steps.check-pr.outputs.result != 'true'
111114
env:
112-
GITHUB_TOKEN: ${{ secrets.github-token }}
115+
GITHUB_TOKEN: ${{ inputs.github-token }}
113116
BRANCH_NAME: stable-main-${{ inputs.semver-version }}
114117
VERSION: ${{ inputs.semver-version }}
115118
shell: bash

0 commit comments

Comments
 (0)