Skip to content

Commit

Permalink
Merge pull request cylc#6522 from MetRonnie/actions
Browse files Browse the repository at this point in the history
GH Actions: automatically use latest `pypa/gh-action-pypi-publish`
  • Loading branch information
oliver-sanders authored Jan 13, 2025
2 parents 26df668 + 1cd9e23 commit 95f02cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/2_auto_publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: cylc/release-actions/build-python-package@v1

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.2
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__ # uses the API token feature of PyPI - least permissions possible
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/branch_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

jobs:
sync:
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1
with:
head_branch: ${{ inputs.head_branch }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ concurrency:

jobs:
test_conda_install:
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
Expand Down

0 comments on commit 95f02cb

Please sign in to comment.