File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change 11name : Pull request helper
22on :
3- pull_request_target :
3+ push :
4+ branches :
5+ - ' dependabot/**/*'
46
57jobs :
68 pull-request-helper :
7- if : github.event.pull_request.user.login == 'dependabot[bot]'
89 runs-on : ubuntu-latest
910 steps :
1011 - uses : actions/checkout@v5
11- with :
12- # this is the personal access token used for "git push" below
13- # which is needed in order to trigger workflows
14- token : ${{ secrets.PR_HELPER_GITHUB_TOKEN }}
15-
16- - name : Check out PR branch
17- env :
18- NUMBER : ${{ github.event.pull_request.number }}
19- GH_TOKEN : ${{ github.token }}
20- run : |
21- gh pr checkout $NUMBER
2212
2313 - name : Setup Gradle
2414 uses : gradle/actions/setup-gradle@v5
3020 git config user.name github-actions[bot]
3121 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
3222
33- # - name: Spotless
34- # env:
35- # NUMBER: ${{ github.event.issue.number }}
36- # run: |
37- # ./gradlew spotlessApply
38- # if git diff --quiet; then
39- # exit 0 # success
40- # fi
41- # git commit -a -m "./gradlew spotlessApply"
42-
4323 - name : Update license report
4424 env :
4525 NUMBER : ${{ github.event.issue.number }}
6747 git commit -m "./gradlew resolveAndLockAll --write-locks"
6848
6949 - name : Push
70- env :
71- GH_TOKEN : ${{ github.token }}
72- run : |
73- git push
50+ run : git push
You can’t perform that action at this time.
0 commit comments