Skip to content

Commit e13691f

Browse files
committed
Update actions
1 parent 6c74c14 commit e13691f

File tree

6 files changed

+32
-18
lines changed

6 files changed

+32
-18
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.yaml

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/bootzooka-ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
types:
1313
- released
1414

15+
permissions:
16+
contents: write # release-drafter, auto-merge requirement
17+
pull-requests: write # labeler, auto-merge requirement
18+
1519
jobs:
1620
verify:
1721
runs-on: ubuntu-24.04
@@ -28,7 +32,7 @@ jobs:
2832
java-version: "21"
2933
cache: "sbt"
3034

31-
- uses: sbt/setup-sbt@v1
35+
- uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1, specifically v1.1.14
3236

3337
- name: Set up Node.js
3438
uses: actions/setup-node@v4
@@ -64,7 +68,7 @@ jobs:
6468
java-version: "21"
6569
cache: "sbt"
6670

67-
- uses: sbt/setup-sbt@v1
71+
- uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1, specifically v1.1.14
6872

6973
- name: Set up Node.js
7074
uses: actions/setup-node@v4
@@ -76,7 +80,7 @@ jobs:
7680
run: sbt "backend/generateOpenAPIDescription"
7781

7882
- name: Login to DockerHub
79-
uses: docker/login-action@v1
83+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3, specifically v3.6.0
8084
with:
8185
username: ${{ secrets.DOCKERHUB_USERNAME }}
8286
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -85,12 +89,12 @@ jobs:
8589
run: sbt 'set docker / version := "'${GITHUB_RUN_ID}-${GITHUB_SHA:0:7}'"' docker/docker:publish
8690

8791
label:
88-
# only for PRs by softwaremill-ci
89-
if: github.event.pull_request.user.login == 'softwaremill-ci'
92+
# only for PRs by github-actions[bot]
93+
if: github.event.pull_request.user.login == 'github-actions[bot]'
9094
uses: softwaremill/github-actions-workflows/.github/workflows/label.yml@main
9195

9296
auto-merge:
93-
# only for PRs by softwaremill-ci
94-
if: github.event.pull_request.user.login == 'softwaremill-ci'
97+
# only for PRs by github-actions[bot]
98+
if: github.event.pull_request.user.login == 'github-actions[bot]'
9599
needs: [verify, label]
96100
uses: softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main

.github/workflows/bootzooka-helm-ci.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
- "helm/**"
1313
- ".github/**"
1414

15+
permissions:
16+
contents: write # release-drafter, auto-merge requirement
17+
pull-requests: write # labeler, auto-merge requirement
18+
1519
jobs:
1620
lint-chart:
1721
name: Lint Helm Chart
@@ -24,7 +28,7 @@ jobs:
2428
fetch-depth: 0
2529

2630
- name: Set up Helm
27-
uses: azure/setup-helm@v4.3.0
31+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4, specifically v4.3.1
2832
with:
2933
version: v3.17.1
3034

@@ -34,7 +38,7 @@ jobs:
3438
check-latest: true
3539

3640
- name: Set up chart-testing
37-
uses: helm/[email protected]
41+
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2, specifically v2.7.0
3842

3943
- name: Run chart-testing (list-changed)
4044
id: list-changed
@@ -68,13 +72,13 @@ jobs:
6872

6973
- name: Create kind ${{ matrix.k8s }} cluster
7074
id: kind-cluster-setup
71-
uses: helm/[email protected]
75+
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1, specifically v1.12.0
7276
with:
7377
node_image: kindest/node:${{ matrix.k8s }}
7478
wait: "120s"
7579

7680
- name: Set up Helm
77-
uses: azure/setup-helm@v4.3.0
81+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4, specifically v4.3.1
7882
with:
7983
version: v3.17.1
8084

@@ -84,7 +88,7 @@ jobs:
8488
check-latest: true
8589

8690
- name: Set up chart-testing
87-
uses: helm/[email protected]
91+
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2, specifically v2.7.0
8892

8993
- name: Run chart-testing (list-changed)
9094
id: list-changed
@@ -113,7 +117,7 @@ jobs:
113117

114118
- name: Run helm-docs
115119
id: helm-docs-run
116-
uses: softwaremill/helm-docs-action@main
120+
uses: softwaremill/helm-docs-action@874f27f2798f274bad83f9fa8205bfa5715de39e
117121

118122
- name: Validate there's no diff
119123
id: git-no-diff

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
1919
- name: Dependabot metadata
2020
id: metadata
21-
uses: dependabot/fetch-metadata@v1.6.0
21+
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2, specifically v2.4.0
2222
with:
2323
github-token: "${{ secrets.GITHUB_TOKEN }}"
2424

.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)