Skip to content

Commit 29d36c1

Browse files
authored
chore(ci): dependabot cooldown and pin actions (#351)
1 parent 3f8874a commit 29d36c1

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ updates:
1010
baseimages:
1111
patterns:
1212
- "*"
13+
cooldown:
14+
default-days: 7
1315
- package-ecosystem: github-actions
1416
directory: /
1517
schedule:
@@ -20,3 +22,5 @@ updates:
2022
actions:
2123
patterns:
2224
- "*"
25+
cooldown:
26+
default-days: 7

.github/workflows/release.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
fetch-depth: 0
1919

2020
- name: Set up QEMU
21-
uses: docker/setup-qemu-action@v4.0.0
21+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
2222

2323
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v4.0.0
24+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
2525

2626
- name: Prepare additional Metadata
2727
id: addtional_meta
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: Docker meta
3232
id: meta
33-
uses: docker/metadata-action@v6.0.0
33+
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
3434
with:
3535
images: ghcr.io/radiorabe/mediawiki
3636
tags: |
@@ -54,15 +54,15 @@ jobs:
5454
io.openshift.tags=minimal rhel8 rabe mediawiki
5555
5656
- name: Login to GitHub Container Registry
57-
uses: docker/login-action@v4.0.0
57+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
5858
with:
5959
registry: ghcr.io
6060
username: ${{ github.repository_owner }}
6161
password: ${{ secrets.GITHUB_TOKEN }}
6262

6363
- name: Build Container Image
6464
id: docker_build
65-
uses: docker/build-push-action@v7.0.0
65+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
6666
with:
6767
context: ./wiki/
6868
file: ./wiki/Dockerfile
@@ -76,7 +76,7 @@ jobs:
7676
cache-to: type=gha,mode=max
7777

7878
- name: Run Trivy vulnerability scanner
79-
uses: aquasecurity/trivy-action@master
79+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
8080
with:
8181
image-ref: 'ghcr.io/radiorabe/mediawiki:${{ steps.meta.outputs.version }}'
8282
format: 'sarif'
@@ -86,14 +86,14 @@ jobs:
8686
output: 'trivy.sarif'
8787

8888
- name: Upload Trivy scan results to GitHub Security tab
89-
uses: github/codeql-action/upload-sarif@v4
89+
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
9090
if: always()
9191
with:
9292
sarif_file: 'trivy.sarif'
9393

9494
- name: Push Container Image
9595
id: docker_push
96-
uses: docker/build-push-action@v7.0.0
96+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
9797
with:
9898
context: ./wiki/
9999
file: ./wiki/Dockerfile

.github/workflows/schedule.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ on:
77

88
jobs:
99
call-workflow:
10-
uses: radiorabe/actions/.github/workflows/schedule-trivy.yaml@v0.41.3
10+
uses: radiorabe/actions/.github/workflows/schedule-trivy.yaml@c7aef9928f610ec51b44f84debf2321189276d54 # v0.41.3
1111
with:
1212
image-ref: 'ghcr.io/radiorabe/mediawiki:latest'

.github/workflows/semantic-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Run go-semantic-release
1919
id: semrel
20-
uses: go-semantic-release/action@v1
20+
uses: go-semantic-release/action@2e9dc4247a6004f8377781bef4cb9dad273a741f # v1.24.1
2121
with:
2222
github-token: ${{ secrets.RABE_ITREAKTION_GITHUB_TOKEN }}
2323
allow-initial-development-versions: true

0 commit comments

Comments
 (0)