Skip to content

Commit b090d82

Browse files
authored
CI: Pin github actions by hash (equinor#1744)
1 parent 8e906aa commit b090d82

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131

3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3535

3636
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v4
37+
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
3838
with:
3939
languages: ${{ matrix.language }}
4040
build-mode: ${{ matrix.build-mode }}
4141

4242
- name: Perform CodeQL Analysis
43-
uses: github/codeql-action/analyze@v4
43+
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
4444
with:
4545
category: "/language:${{matrix.language}}"

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2121

2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v7
23+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2424

2525
- name: Set up Python
2626
run: uv python install 3.11

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2121

2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v7
23+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2424

2525
- name: Set up python
2626
run: uv python install 3.11

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
python-version: ["3.11", "3.12", "3.13", "3.14"]
2121

2222
steps:
23-
- uses: actions/checkout@v6
23+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2424

2525
- name: Install uv
26-
uses: astral-sh/setup-uv@v7
26+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2727

2828
- name: Set up python
2929
run: uv python install ${{ matrix.python-version }}

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2424
with:
2525
fetch-depth: 0
2626

2727
- name: Set up Python 3.12
28-
uses: actions/setup-python@v6
28+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: 3.12
3131

@@ -38,4 +38,4 @@ jobs:
3838
run: python -m build
3939

4040
- name: Publish package distributions to PyPI
41-
uses: pypa/gh-action-pypi-publish@release/v1
41+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
python-version: ["3.11", "3.12", "3.13", "3.14"]
2020
os: [ubuntu-latest]
2121
steps:
22-
- uses: actions/checkout@v6
22+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2323
with:
2424
fetch-depth: 0
2525

2626
- name: Install uv
27-
uses: astral-sh/setup-uv@v7
27+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2828

2929
- name: Set up Python
3030
run: uv python install ${{ matrix.python-version }}

0 commit comments

Comments
 (0)