File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name: Q&A
33on :
44 workflow_call :
55 inputs :
6+ token :
7+ required : true
8+ type : string
69 branch :
710 default : main
811 required : false
4952 name : Remove non-patched packages
5053 if : " always() && steps.checkout.outcome == 'success'"
5154 run : |
52- .github/recipes-checker-main/run list-unpatched-packages $GITHUB_EVENT_PATH ${{ secrets.GITHUB_TOKEN }} | xargs -r -n10 rm -rf
55+ .github/recipes-checker-main/run list-unpatched-packages $GITHUB_EVENT_PATH ${{ inputs.token }} | xargs -r -n10 rm -rf
5356
5457 -
5558 name : Generate Flex testing endpoint
7376 if : " always() && steps.checkout.outcome == 'success'"
7477 run : gh pr merge --auto --squash ${{ github.event.number }}
7578 env :
76- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79+ GITHUB_TOKEN : ${{ inputs.token }}
7780
7881 -
7982 name : Compute diff between recipe versions
@@ -177,7 +180,7 @@ jobs:
177180 name : Contribution is under MIT and has no merge commits
178181 if : " always() && steps.checkout.outcome == 'success'"
179182 run : |
180- .github/recipes-checker-main/run lint:pull-request --license=MIT $GITHUB_EVENT_PATH ${{ secrets.GITHUB_TOKEN }}
183+ .github/recipes-checker-main/run lint:pull-request --license=MIT $GITHUB_EVENT_PATH ${{ inputs.token }}
181184
182185 -
183186 name : Parameters should be defined via the "container" configurator
Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ defaults:
1010jobs :
1111 call-qa :
1212 uses : symfony/recipes/.github/workflows/callable-qa.yml@main
13+ with :
14+ token : ${{ secrets.BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments