Skip to content

Commit 8d58784

Browse files
committed
Update actions
1 parent 64fc36f commit 8d58784

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

.github/labeler.yml

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

.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: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88
jobs:
99
build:
1010
uses: softwaremill/github-actions-workflows/.github/workflows/build-scala.yml@main
11-
# run on 1) push, 2) external PRs, 3) softwaremill-ci PRs
11+
# run on 1) push, 2) external PRs, 3) github-actions[bot] PRs
1212
# do not run on internal, non-steward PRs since those will be run by push to branch
1313
if: |
1414
github.event_name == 'push' ||
1515
github.event.pull_request.head.repo.full_name != github.repository ||
16-
github.event.pull_request.user.login == 'softwaremill-ci'
16+
github.event.pull_request.user.login == 'github-actions[bot]'
1717
strategy:
1818
matrix:
1919
java: [ '11', '17', '21' ]
@@ -32,12 +32,14 @@ jobs:
3232
java-opts: "-Xmx5G"
3333

3434
label:
35-
# only for PRs by softwaremill-ci
36-
if: github.event.pull_request.user.login == 'softwaremill-ci'
35+
# only for PRs by github-actions[bot]
36+
if: github.event.pull_request.user.login == 'github-actions[bot]'
3737
uses: softwaremill/github-actions-workflows/.github/workflows/label.yml@main
38+
secrets: inherit
3839

3940
auto-merge:
40-
# only for PRs by softwaremill-ci
41-
if: github.event.pull_request.user.login == 'softwaremill-ci'
41+
# only for PRs by github-actions[bot]
42+
if: github.event.pull_request.user.login == 'github-actions[bot]'
4243
needs: [ build, label ]
43-
uses: softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
44+
uses: softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
45+
secrets: inherit

.github/workflows/scala-steward.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ on:
66
- cron: '0 0 * * *'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: write # Required to checkout and push changes
11+
pull-requests: write # Required to create PRs for dependency updates
12+
913
jobs:
1014
scala-steward:
1115
uses: softwaremill/github-actions-workflows/.github/workflows/scala-steward.yml@main
12-
with:
13-
java-version: '17'
1416
secrets:
15-
repo-github-token: ${{secrets.REPO_GITHUB_TOKEN}}
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
java-version: '21'

0 commit comments

Comments
 (0)