Skip to content

Commit 482a70d

Browse files
committed
Sync workflows
1 parent 72773d7 commit 482a70d

9 files changed

Lines changed: 14 additions & 26 deletions

File tree

.github/workflows/autofix.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: 🪄 Autofix
99
jobs:
1010

1111
autofix:
12-
uses: kdeldycke/repomatic/.github/workflows/autofix.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
12+
uses: kdeldycke/repomatic/.github/workflows/autofix.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
1313
secrets:
1414
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}
1515
VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY }}

.github/workflows/autolock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ name: 🔒 Autolock
88
jobs:
99

1010
autolock:
11-
uses: kdeldycke/repomatic/.github/workflows/autolock.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
11+
uses: kdeldycke/repomatic/.github/workflows/autolock.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0

.github/workflows/cancel-runs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ name: ✂️ Cancel runs
88
jobs:
99

1010
cancel-runs:
11-
uses: kdeldycke/repomatic/.github/workflows/cancel-runs.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
11+
uses: kdeldycke/repomatic/.github/workflows/cancel-runs.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0

.github/workflows/changelog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ name: 🆙 Changelog & versions
2525
jobs:
2626

2727
changelog:
28-
uses: kdeldycke/repomatic/.github/workflows/changelog.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
28+
uses: kdeldycke/repomatic/.github/workflows/changelog.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
2929
secrets:
3030
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ name: 📚 Docs
1818
jobs:
1919

2020
docs:
21-
uses: kdeldycke/repomatic/.github/workflows/docs.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
21+
uses: kdeldycke/repomatic/.github/workflows/docs.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0

.github/workflows/labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ name: 🏷️ Labels
1919
jobs:
2020

2121
labels:
22-
uses: kdeldycke/repomatic/.github/workflows/labels.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
22+
uses: kdeldycke/repomatic/.github/workflows/labels.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ name: 🧹 Lint
2121
jobs:
2222

2323
lint:
24-
uses: kdeldycke/repomatic/.github/workflows/lint.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
24+
uses: kdeldycke/repomatic/.github/workflows/lint.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
2525
secrets:
2626
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}
2727
VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY }}

.github/workflows/release.yaml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
jobs:
2929

3030
build:
31-
uses: kdeldycke/repomatic/.github/workflows/_release-build.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
31+
uses: kdeldycke/repomatic/.github/workflows/_release-build.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
3232

3333
publish-pypi:
3434
name: 🐍 Publish to PyPI (${{ matrix.short_sha }})
@@ -48,29 +48,17 @@ jobs:
4848
matrix: ${{ fromJSON(needs.build.outputs.release_commits_matrix || '{"include":[]}') }}
4949
runs-on: ubuntu-slim
5050
permissions:
51+
# OIDC only: the PyPI Trusted Publishing token. The GitHub release notes
52+
# (with their PyPI admonition) are owned end to end by the engine lane's
53+
# create-release job, so this lane needs no write access to the repo.
5154
id-token: write
52-
# Lets the admonition step below edit the published release notes.
53-
contents: write
5455
steps:
55-
- uses: kdeldycke/repomatic/.github/actions/publish-pypi@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
56+
- uses: kdeldycke/repomatic/.github/actions/publish-pypi@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
5657
with:
5758
artifact-name: ${{ github.event.repository.name }}-${{ matrix.short_sha }}
58-
# Backfill the "available on PyPI" admonition onto the release notes after a successful OIDC upload. The engine
59-
# lane publishes the GitHub release without it (it cannot yet know the PyPI outcome). continue-on-error keeps a
60-
# notes-edit hiccup from failing an upload that already succeeded.
61-
- name: Add PyPI admonition to release notes
62-
continue-on-error: true
63-
env:
64-
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || github.token }}
65-
CURRENT_VERSION: ${{ matrix.current_version }}
66-
RELEASE_NOTES: ${{ needs.build.outputs.release_notes_with_admonition }}
67-
run: >
68-
gh release edit "v${CURRENT_VERSION}"
69-
--notes-file -
70-
--repo "${{ github.repository }}" <<< "${RELEASE_NOTES}"
7159

7260
release:
73-
uses: kdeldycke/repomatic/.github/workflows/_release-engine.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
61+
uses: kdeldycke/repomatic/.github/workflows/_release-engine.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
7462
needs: build
7563
secrets:
7664
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ name: 🆕 Renovate
1414
jobs:
1515

1616
renovate:
17-
uses: kdeldycke/repomatic/.github/workflows/renovate.yaml@e8e1f6c651ed0c51dd6622cf316f3f7f591ed3dc # v6.30.0
17+
uses: kdeldycke/repomatic/.github/workflows/renovate.yaml@3a04e66e0f653c320bf6e93a8d584f4bf9605a50 # v6.31.0
1818
secrets:
1919
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}

0 commit comments

Comments
 (0)