diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 55b49e1..4dbbb20 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,13 +1,8 @@ name: Publish to PyPI on: - pull_request: - push: - branches: - - main release: - types: - - published + types: [created, edited] jobs: packages: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index afc9cac..bbd7721 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,7 @@ jobs: outputs: triggered: ${{ steps.detect-trigger.outputs.trigger-found }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 2 - uses: xarray-contrib/ci-trigger@v1.2 @@ -53,7 +53,7 @@ jobs: experimental: [false] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set environment variables run: |