Skip to content

Commit 92f760c

Browse files
committed
Update action versions and change from hash to text version
1 parent ee2c684 commit 92f760c

File tree

8 files changed

+26
-23
lines changed

8 files changed

+26
-23
lines changed

.github/workflows/codespell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
contents: read
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
22+
uses: actions/checkout@v4.2.2
2323
with:
2424
persist-credentials: false
2525
- name: Run codespell on Repo
26-
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630
26+
uses: codespell-project/actions-codespell@v2.1
2727
with:
2828
skip: '*.js'

.github/workflows/typos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
contents: read
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
20+
uses: actions/checkout@v4.2.2
2121
with:
2222
persist-credentials: false
2323

2424
- name: Run typos on repo
25-
uses: crate-ci/typos@3be83342e28b9421997e9f781f713f8dde8453d2
25+
uses: crate-ci/typos@v1.31.2

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ The format is inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0
1717

1818
[Full changelog](https://github.com/dalito/linkml-project-copier/compare/v0.4.0...main)
1919

20+
### Changed
21+
22+
- Update github actions in project and change from hash version specifier to text. #86
23+
2024
## Release [0.4.0] - 2025-04-06
2125

2226
[Full changelog](https://github.com/dalito/linkml-project-copier/compare/v0.3.1...0.4.0)

template/.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Please see the documentation for all configuration options:
2-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
33

44
version: 2
55
updates:

template/.github/workflows/deploy-docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
22+
uses: actions/checkout@v4.2.2
2323
with:
2424
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
2525

@@ -31,14 +31,14 @@ jobs:
3131
git config user.email github-actions[bot]@users.noreply.github.com
3232
3333
- name: Install uv
34-
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182
34+
uses: astral-sh/setup-uv@v6.0.1
3535
with:
3636
python-version: 3.12
3737
enable-cache: true
3838
cache-dependency-glob: "uv.lock"
3939

4040
- name: Set up Python
41-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
41+
uses: actions/setup-python@v5.6.0
4242
with:
4343
python-version: 3.12
4444

template/.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525
steps:
2626

2727
- name: Check out repository
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
28+
uses: actions/checkout@v4.2.2
2929
with:
3030
persist-credentials: false
3131

3232
- name: Install uv
33-
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182
33+
uses: astral-sh/setup-uv@v6.0.1
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636
enable-cache: true
3737
cache-dependency-glob: "uv.lock"
3838

3939
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
40+
uses: actions/setup-python@v5.6.0
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343

template/.github/workflows/{% if gh_action_docs_preview %}test_pages_build.yaml{% endif %}.jinja

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on: # yamllint disable-line rule:truthy
77
- reopened
88
- synchronize
99

10-
1110
env:
1211
CLICOLOR: 1
1312

@@ -26,19 +25,19 @@ jobs:
2625
runs-on: ubuntu-latest
2726
steps:
2827
- name: Checkout
29-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
28+
uses: actions/checkout@v4.2.2
3029
with:
3130
fetch-depth: 0
3231

3332
- name: Install uv
34-
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182
33+
uses: astral-sh/setup-uv@v6.0.1
3534
with:
3635
python-version: 3.12
3736
enable-cache: true
3837
cache-dependency-glob: "uv.lock"
3938

4039
- name: Set up Python 3
41-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
40+
uses: actions/setup-python@v5.6.0
4241
with:
4342
python-version: 3.12
4443

@@ -51,7 +50,7 @@ jobs:
5150
touch site/.nojekyll
5251

5352
- name: Deploy preview
54-
uses: rossjrw/pr-preview-action@df22037db54ab6ee34d3c1e2b8810ac040a530c6
53+
uses: rossjrw/pr-preview-action@v1.6.1
5554
with:
5655
source-dir: site/
5756
preview-branch: gh-pages

template/.github/workflows/{% if gh_action_pypi %}pypi-publish.yaml{% endif %}.jinja

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727

2828
steps:
2929
- name: Check out repository
30-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
30+
uses: actions/checkout@v4.2.2
3131
with:
3232
persist-credentials: false
3333

3434
- name: Install uv
35-
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182
35+
uses: astral-sh/setup-uv@v6.0.1
3636
with:
3737
python-version: 3.12
3838
enable-cache: true
3939

4040
- name: Set up Python
41-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
41+
uses: actions/setup-python@v5.6.0
4242
with:
4343
python-version: 3.12
4444

@@ -50,7 +50,7 @@ jobs:
5050
run: uv build
5151

5252
- name: Store built distribution
53-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
53+
uses: actions/upload-artifact@v4.6.2
5454
with:
5555
name: distribution-files
5656
path: dist/
@@ -66,21 +66,21 @@ jobs:
6666
id-token: write # this permission is mandatory for trusted publishing
6767
steps:
6868
- name: Download built distribution
69-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
69+
uses: actions/download-artifact@v4.3.0
7070
with:
7171
name: distribution-files
7272
path: dist
7373

7474
- name: Publish package 📦 to Test PyPI
7575
if: github.event_name == 'push'
76-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
76+
uses: pypa/gh-action-pypi-publish@v1.12
7777
with:
7878
repository-url: https://test.pypi.org/legacy/
7979
verbose: true
8080

8181
- name: Publish package 📦 to PyPI
8282
if: github.event_name == 'release'
83-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
83+
uses: pypa/gh-action-pypi-publish@v1.12
8484
with:
8585
verbose: true
8686

0 commit comments

Comments
 (0)