File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ name: Q&A
33on :
44 workflow_call :
55 inputs :
6- token :
7- required : true
8- type : string
96 branch :
107 default : main
118 required : false
1613 find_yaml :
1714 required : false
1815 type : string
16+ secrets :
17+ token :
18+ required : true
1919
2020jobs :
2121 run-checks :
5252 name : Remove non-patched packages
5353 if : " always() && steps.checkout.outcome == 'success'"
5454 run : |
55- .github/recipes-checker-main/run list-unpatched-packages $GITHUB_EVENT_PATH ${{ inputs .token }} | xargs -r -n10 rm -rf
55+ .github/recipes-checker-main/run list-unpatched-packages $GITHUB_EVENT_PATH ${{ secrets .token }} | xargs -r -n10 rm -rf
5656
5757 -
5858 name : Generate Flex testing endpoint
7676 if : " always() && steps.checkout.outcome == 'success'"
7777 run : gh pr merge --auto --squash ${{ github.event.number }}
7878 env :
79- GITHUB_TOKEN : ${{ inputs .token }}
79+ GITHUB_TOKEN : ${{ secrets .token }}
8080
8181 -
8282 name : Compute diff between recipe versions
@@ -180,7 +180,7 @@ jobs:
180180 name : Contribution is under MIT and has no merge commits
181181 if : " always() && steps.checkout.outcome == 'success'"
182182 run : |
183- .github/recipes-checker-main/run lint:pull-request --license=MIT $GITHUB_EVENT_PATH ${{ inputs .token }}
183+ .github/recipes-checker-main/run lint:pull-request --license=MIT $GITHUB_EVENT_PATH ${{ secrets .token }}
184184
185185 -
186186 name : Parameters should be defined via the "container" configurator
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ defaults:
1010jobs :
1111 call-qa :
1212 uses : symfony/recipes/.github/workflows/callable-qa.yml@main
13- with :
13+ secrets :
1414 token : ${{ secrets.BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments