Skip to content

Commit 7e49adc

Browse files
committed
Update actions
1 parent 8ed6d9a commit 7e49adc

File tree

5 files changed

+15
-30
lines changed

5 files changed

+15
-30
lines changed

.github/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
version: 1
22
labels:
33
- label: "automerge"
4-
authors: ["softwaremill-ci"]
4+
authors: ["github-actions[bot]"]
55
files:
66
- "build.sbt"
77
- "project/build.properties"
88
- "project/Versions.scala"
99
- "project/plugins.sbt"
1010
- label: "dependency"
11-
authors: ["softwaremill-ci"]
11+
authors: ["github-actions[bot]"]
1212
files:
1313
- "build.sbt"
1414
- "project/build.properties"

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
template: |
2-
## Whats Changed
2+
## What's Changed
33
44
$CHANGES

.github/workflows/ci.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ on:
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
811
jobs:
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

.github/workflows/rebase-cmd-dispatch.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/rebase-cmd.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)