Skip to content

Commit 125d739

Browse files
Use pinned by hash versions for github actions (#419)
Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]>
1 parent a500fab commit 125d739

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.github/workflows/fossa.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
fossa:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
- name: Checkout Repo
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1617

1718
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
1819
with:

.github/workflows/markdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
markdownlint:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- name: check out code
21-
uses: actions/checkout@v4
20+
- name: Checkout Repo
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222

2323
- name: install markdownlint
2424
run: sudo npm install -g markdownlint-cli

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
# Needed for GitHub OIDC token if publish_results is true
2020
id-token: write
2121
steps:
22-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- name: Checkout Repo
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2324
with:
2425
persist-credentials: false
2526

.github/workflows/protobuf-dockerimage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ jobs:
2020
TARGETARCH: [amd64]
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
23+
- name: Checkout Repo
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
2426
- name: Build the Docker image
2527
run: docker build protobuf/. -t build-protobuf
2628
env:
2729
TARGETARCH: ${{ matrix.TARGETARCH }}
30+
2831
- name: Push the Docker image
2932
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
3033
run: |

.github/workflows/schema_tools.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- name: Checkout Repo
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2021

2122
- name: Build the Docker image
2223
run: docker build schemas/. -t build-tool-schemas
2324

2425
- name: Login to GitHub Package Registry
2526
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
26-
uses: docker/login-action@v3
27+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
2728
with:
2829
username: ${{ secrets.DOCKER_USERNAME }}
2930
password: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)