Skip to content

Commit 922ebe7

Browse files
authored
chore(ci): update github workflows to latest version and pin to sha
1 parent f6da523 commit 922ebe7

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/create-releases.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
- main
66
workflow_dispatch:
77

8+
permissions: {}
89
jobs:
910
unreleased-prs-metadata:
1011
name: Get list of pending release pull requests
1112
permissions:
1213
pull-requests: read
1314
contents: read
14-
uses: equinor/radix-reusable-workflows/.github/workflows/template-unreleased-pr-metadata.yml@v1.0.2
15+
uses: equinor/radix-reusable-workflows/.github/workflows/template-unreleased-pr-metadata.yml@bbbf79dd34776ca9e9a4dc4fcf6dc643953f37e8 # v1.1.0
1516

1617
release-pull-request:
1718
name: Release pull request
@@ -25,7 +26,7 @@ jobs:
2526
pull-requests: write
2627
contents: read
2728
issues: write
28-
uses: equinor/radix-reusable-workflows/.github/workflows/template-create-release-from-pr.yml@v1.0.2
29+
uses: equinor/radix-reusable-workflows/.github/workflows/template-create-release-from-pr.yml@bbbf79dd34776ca9e9a4dc4fcf6dc643953f37e8 # v1.1.0
2930
with:
3031
pull-request-number: ${{ matrix.pull-request-number }}
3132
use-github-app-token: true

.github/workflows/pr.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ on:
44
pull_request:
55
branches: [ main ]
66

7+
permissions: {}
78
jobs:
89
test:
910
runs-on: ubuntu-latest
1011
permissions:
1112
contents: read
1213
steps:
13-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1415

1516
- name: Set up Go
16-
uses: actions/setup-go@v5
17+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
1718
with:
1819
go-version-file: 'go.mod'
1920

@@ -26,13 +27,13 @@ jobs:
2627
permissions:
2728
contents: read
2829
steps:
29-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3031
with:
3132
fetch-depth: 2
32-
- uses: actions/setup-go@v5
33+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
3334
with:
3435
go-version-file: 'go.mod'
3536
- name: golangci-lint
36-
uses: golangci/golangci-lint-action@v8
37+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
3738
with:
3839
version: v2.7.2

.github/workflows/prepare-release-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ on:
77
- main
88
workflow_dispatch:
99

10+
permissions: {}
1011
concurrency:
1112
group: ${{ github.workflow }}
1213

1314
jobs:
1415
prepare-release-pr:
1516
name: Prepare release pull request
16-
uses: equinor/radix-reusable-workflows/.github/workflows/template-prepare-release-pr.yml@v1.0.2
17+
uses: equinor/radix-reusable-workflows/.github/workflows/template-prepare-release-pr.yml@bbbf79dd34776ca9e9a4dc4fcf6dc643953f37e8 # v1.1.0
1718
permissions:
1819
contents: write
1920
pull-requests: write

0 commit comments

Comments
 (0)