Skip to content

Commit 52053ab

Browse files
authored
Update action versions in pr-preview.yml (#51)
* Update action versions in pr-preview.yml * Update actions versions in release workflow * Update version-check.yml
1 parent 06994cc commit 52053ab

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/pr-preview.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
contents: read
1212
pull-requests: write
1313
steps:
14-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
14+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
1515
with:
1616
fetch-depth: 0
17-
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
17+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
1818
with:
1919
python-version: '3.x'
2020

@@ -57,14 +57,14 @@ jobs:
5757
5858
- name: Publish to Test PyPI
5959
if: steps.version_check.outputs.exists != 'true'
60-
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.4
60+
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70
6161
with:
6262
repository-url: https://test.pypi.org/legacy/
6363
verbose: true
6464

6565
- name: Comment on PR
6666
if: steps.version_check.outputs.exists != 'true'
67-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
67+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
6868
env:
6969
VERSION: ${{ env.VERSION }}
7070
with:
@@ -128,4 +128,4 @@ jobs:
128128
sleep 20
129129
done
130130
echo "success=false" >> $GITHUB_OUTPUT
131-
exit 1
131+
exit 1

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
id-token: write
1111
contents: read
1212
steps:
13-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
13+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
1414
with:
1515
fetch-depth: 0
16-
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
16+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
1717
with:
1818
python-version: '3.x'
1919

@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Publish to PyPI
5656
if: steps.version_check.outputs.pypi_exists != 'true'
57-
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.4
57+
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70
5858

5959
- name: Verify package is installable
6060
id: verify_package
@@ -72,4 +72,4 @@ jobs:
7272
sleep 20
7373
done
7474
echo "success=false" >> $GITHUB_OUTPUT
75-
exit 1
75+
exit 1

.github/workflows/version-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
check_version:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
14+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
1515
with:
1616
fetch-depth: 0 # Fetch all history for all branches
1717

@@ -39,7 +39,7 @@ jobs:
3939
"
4040
4141
- name: Manage PR Comment
42-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
42+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
4343
if: always()
4444
env:
4545
MAIN_VERSION: ${{ env.MAIN_VERSION }}
@@ -87,4 +87,4 @@ jobs:
8787
issue_number: prNumber,
8888
body: `❌ **Version Check Failed**\n\nPlease increment...`
8989
});
90-
}
90+
}

0 commit comments

Comments
 (0)