Skip to content

Commit 48d9eff

Browse files
authored
Merge pull request #57 from microbiomedata/fix-upgrade-gha-actions
Upgrade and pin third-party actions using commit hashes
2 parents 5413fa3 + 82bccfa commit 48d9eff

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/codespell.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
- name: Codespell
23-
uses: codespell-project/actions-codespell@v2
23+
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2

.github/workflows/deploy-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
# Steps represent a sequence of tasks that will be executed as part of the job
1919
steps:
2020
- name: Check out repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
fetch-depth: 0
2424

2525
- name: Install Poetry
2626
run: pipx install poetry
2727

2828
- name: Set up Python3
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3030
with:
3131
python-version: 3.10
3232
cache: 'poetry'

.github/workflows/main.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
lint:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: '3.10'
2323

@@ -38,14 +38,14 @@ jobs:
3838
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
3939

4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242

43-
- uses: ts-graphviz/setup-graphviz@v2
43+
- uses: ts-graphviz/setup-graphviz@b1de5da23ed0a6d14e0aeee8ed52fdd87af2363c # v2.0.2
4444

4545
- name: Install Poetry
4646
run: pipx install poetry
4747

48-
- uses: actions/setup-python@v5
48+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4949
with:
5050
python-version: ${{ matrix.python-version }}
5151
cache: 'poetry'

.github/workflows/publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v2.2.2
16+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1717
with:
1818
python-version: "3.10"
1919

@@ -26,7 +26,7 @@ jobs:
2626
run: poetry build
2727

2828
- name: Publish distribution 📦 to PyPI
29-
uses: pypa/gh-action-pypi-publish@v1.2.2
29+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
3030
with:
3131
user: __token__
3232
password: ${{ secrets.PYPI_PUBLISH }}

0 commit comments

Comments
 (0)