55 push :
66 branches : ['**']
77 tags : [v*]
8+ permissions :
9+ contents : write # release-drafter, auto-merge requirement
10+ pull-requests : write # labeler, auto-merge requirement
811jobs :
912 build :
1013 uses : softwaremill/github-actions-workflows/.github/workflows/build-scala.yml@main
11- # run on 1) push, 2) external PRs, 3) softwaremill-ci PRs
14+ # run on 1) push, 2) external PRs, 3) github-actions[bot] PRs
1215 # do not run on internal, non-steward PRs since those will be run by push to branch
1316 if : |
1417 github.event_name == 'push' ||
1518 github.event.pull_request.head.repo.full_name != github.repository ||
16- github.event.pull_request.user.login == 'softwaremill-ci '
19+ github.event.pull_request.user.login == 'github-actions[bot] '
1720 with :
1821 java-opts : ' -Xmx3000M -Dsbt.task.timings=true'
1922 sttp-native : 1
@@ -34,12 +37,14 @@ jobs:
3437 sttp-native : 1
3538
3639 label :
37- # only for PRs by softwaremill-ci
38- if : github.event.pull_request.user.login == 'softwaremill-ci '
40+ # only for PRs by github-actions[bot]
41+ if : github.event.pull_request.user.login == 'github-actions[bot] '
3942 uses : softwaremill/github-actions-workflows/.github/workflows/label.yml@main
43+ secrets : inherit
4044
4145 auto-merge :
42- # only for PRs by softwaremill-ci
43- if : github.event.pull_request.user.login == 'softwaremill-ci '
46+ # only for PRs by github-actions[bot]
47+ if : github.event.pull_request.user.login == 'github-actions[bot] '
4448 needs : [ build, mima, label ]
45- uses : softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
49+ uses : softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
50+ secrets : inherit
0 commit comments