Skip to content

Commit 95f02cb

Browse files
Merge pull request #6522 from MetRonnie/actions
GH Actions: automatically use latest `pypa/gh-action-pypi-publish`
2 parents 26df668 + 1cd9e23 commit 95f02cb

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/2_auto_publish_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: cylc/release-actions/build-python-package@v1
3939

4040
- name: Publish distribution to PyPI
41-
uses: pypa/gh-action-pypi-publish@v1.12.2
41+
uses: pypa/gh-action-pypi-publish@release/v1
4242
with:
4343
user: __token__ # uses the API token feature of PyPI - least permissions possible
4444
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/branch_sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414

1515
jobs:
1616
sync:
17+
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
1718
uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1
1819
with:
1920
head_branch: ${{ inputs.head_branch }}

.github/workflows/test_conda-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515

1616
jobs:
1717
test_conda_install:
18+
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
1819
runs-on: ubuntu-latest
1920
timeout-minutes: 10
2021
strategy:

0 commit comments

Comments
 (0)