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
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
+ token :
7
+ required : true
8
+ type : string
6
9
branch :
7
10
default : main
8
11
required : false
49
52
name : Remove non-patched packages
50
53
if : " always() && steps.checkout.outcome == 'success'"
51
54
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
53
56
54
57
-
55
58
name : Generate Flex testing endpoint
73
76
if : " always() && steps.checkout.outcome == 'success'"
74
77
run : gh pr merge --auto --squash ${{ github.event.number }}
75
78
env :
76
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
+ GITHUB_TOKEN : ${{ inputs.token }}
77
80
78
81
-
79
82
name : Compute diff between recipe versions
@@ -177,7 +180,7 @@ jobs:
177
180
name : Contribution is under MIT and has no merge commits
178
181
if : " always() && steps.checkout.outcome == 'success'"
179
182
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 }}
181
184
182
185
-
183
186
name : Parameters should be defined via the "container" configurator
Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ defaults:
10
10
jobs :
11
11
call-qa :
12
12
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