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 : ' -Xmx4G'
1922
@@ -27,12 +30,14 @@ jobs:
2730 sttp-native : 1
2831
2932 label :
30- # only for PRs by softwaremill-ci
31- if : github.event.pull_request.user.login == 'softwaremill-ci '
33+ # only for PRs by github-actions[bot]
34+ if : github.event.pull_request.user.login == 'github-actions[bot] '
3235 uses : softwaremill/github-actions-workflows/.github/workflows/label.yml@main
36+ secrets : inherit
3337
3438 auto-merge :
35- # only for PRs by softwaremill-ci
36- if : github.event.pull_request.user.login == 'softwaremill-ci '
39+ # only for PRs by github-actions[bot]
40+ if : github.event.pull_request.user.login == 'github-actions[bot] '
3741 needs : [ build, label ]
38- uses : softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
42+ uses : softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
43+ secrets : inherit
0 commit comments