Skip to content

Commit 6b908c4

Browse files
committed
Update actions
1 parent 741d413 commit 6b908c4

4 files changed

Lines changed: 39 additions & 3 deletions

File tree

.github/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 1
2+
labels:
3+
- label: "automerge"
4+
authors: ["github-actions[bot]"]
5+
files:
6+
- "build.sbt"
7+
- "project/plugins.sbt"
8+
- "project/build.properties"
9+
- label: "dependency"
10+
authors: ["github-actions[bot]"]
11+
files:
12+
- "build.sbt"
13+
- "project/plugins.sbt"
14+
- "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: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ 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
@@ -25,4 +28,17 @@ jobs:
2528
secrets: inherit
2629
with:
2730
java-opts: "-Xmx4G -Xss4M"
28-
sttp-native: 1
31+
sttp-native: 1
32+
33+
label:
34+
# only for PRs by github-actions[bot]
35+
if: github.event.pull_request.user.login == 'github-actions[bot]'
36+
uses: softwaremill/github-actions-workflows/.github/workflows/label.yml@main
37+
secrets: inherit
38+
39+
auto-merge:
40+
# only for PRs by github-actions[bot]
41+
if: github.event.pull_request.user.login == 'github-actions[bot]'
42+
needs: [ build, mima, label ]
43+
uses: softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main
44+
secrets: inherit

.github/workflows/scala-steward.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +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
1216
secrets:
13-
repo-github-token: ${{secrets.REPO_GITHUB_TOKEN}}
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
java-version: '21'

0 commit comments

Comments
 (0)