Skip to content

Commit 3c34e99

Browse files
cowork-bot: SHA-pin all GitHub Actions and remove silent-failure || true
- Pin actions/checkout to 11bd719 (v4.2.2) across ci/pages/cowork-auto-pr/publish - Pin actions/setup-python to a26af69 (v5) in ci and publish - Pin actions/setup-node to 49933ea (v4) in publish - Pin pypa/gh-action-pypi-publish to dc37677 (release/v1) in publish - Remove || true from schemaforge check step (silent-failure trap) - Fix misleading '# v4.2.2 (pinned)' comments on unpinned @v4 refs
1 parent 194f1f4 commit 3c34e99

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
python-version: ["3.10", "3.11", "3.12", "3.13"]
1818

1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
persist-credentials: false
2323

2424
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
25+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

@@ -44,12 +44,12 @@ jobs:
4444
schema-consistency:
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
with:
4949
persist-credentials: false
5050

5151
- name: Set up Python
52-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
52+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
5353
with:
5454
python-version: "3.12"
5555

@@ -64,4 +64,4 @@ jobs:
6464
6565
- name: Run schemaforge check on fixtures
6666
run: |
67-
schemaforge check --dir /tmp --canonical sql || true
67+
schemaforge check --dir /tmp --canonical sql

‎.github/workflows/cowork-auto-pr.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# without this step every run failed with "not a git repository" and no
1717
# PR was ever opened (fleet-wide defect: 11/11 seeded copies lacked it).
1818
- name: Check out the pushed branch
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
with:
2121
ref: ${{ github.ref_name }}
2222
fetch-depth: 0

‎.github/workflows/pages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
2323
persist-credentials: false
2424
- name: Setup Pages

‎.github/workflows/publish.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
environment: pypi
2424

2525
steps:
26-
- uses: actions/checkout@v4 # v4.2.2 (pinned)
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
persist-credentials: false
2929

3030
- name: Set up Python 3.12
31-
uses: actions/setup-python@v5
31+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3232
with:
3333
python-version: "3.12"
3434

@@ -48,24 +48,24 @@ jobs:
4848

4949
- name: Publish to TestPyPI
5050
if: ${{ inputs.pypi_target == 'testpypi' }}
51-
uses: pypa/gh-action-pypi-publish@release/v1
51+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
5252
with:
5353
repository-url: https://test.pypi.org/legacy/
5454

5555
- name: Publish to PyPI
5656
if: ${{ inputs.pypi_target == 'pypi' || github.event_name == 'release' }}
57-
uses: pypa/gh-action-pypi-publish@release/v1
57+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
5858

5959
npm-publish:
6060
runs-on: ubuntu-latest
6161
permissions:
6262
contents: read
6363
id-token: write
6464
steps:
65-
- uses: actions/checkout@v4 # v4.2.2 (pinned)
65+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6666
with:
6767
persist-credentials: false
68-
- uses: actions/setup-node@v4
68+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
6969
with:
7070
node-version: 22
7171
registry-url: 'https://registry.npmjs.org'

0 commit comments

Comments
 (0)