From f48e749bdb6e92e45801d8834b610afb17c86af5 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:32:22 +0200 Subject: [PATCH] MAINT: update ComPWA/policy and apply changes --- .github/workflows/cd.yml | 8 ++++---- .github/workflows/ci.yml | 6 +++--- .github/workflows/clean-caches.yml | 2 +- .github/workflows/pr-linting.yml | 2 +- .github/workflows/requirements.yml | 2 +- .pre-commit-config.yaml | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2f66c9ab0..cf34984b2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -9,9 +9,9 @@ on: jobs: milestone: if: startsWith(github.ref, 'refs/tags') - uses: ComPWA/actions/.github/workflows/close-milestone.yml@v1 + uses: ComPWA/actions/.github/workflows/close-milestone.yml@v2 package-name: - uses: ComPWA/actions/.github/workflows/get-pypi-name.yml@v1 + uses: ComPWA/actions/.github/workflows/get-pypi-name.yml@v2 pypi: environment: name: PyPI @@ -24,9 +24,9 @@ jobs: id-token: write runs-on: ubuntu-24.04 steps: - - uses: ComPWA/actions/build-pypi-distribution@v1 + - uses: ComPWA/actions/build-pypi-distribution@v2 - uses: pypa/gh-action-pypi-publish@release/v1 push: if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease secrets: inherit - uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v1 + uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa87610fe..d041ae383 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ on: jobs: doc: - uses: ComPWA/actions/.github/workflows/ci-docs.yml@v1 + uses: ComPWA/actions/.github/workflows/ci-docs.yml@v2 permissions: pages: write id-token: write @@ -37,7 +37,7 @@ jobs: python-version: "3.11" specific-pip-packages: ${{ inputs.specific-pip-packages }} pytest: - uses: ComPWA/actions/.github/workflows/pytest.yml@v1 + uses: ComPWA/actions/.github/workflows/pytest.yml@v2 with: coverage-target: ampform macos-python-version: "3.9" @@ -46,6 +46,6 @@ jobs: if: inputs.specific-pip-packages == '' secrets: token: ${{ secrets.PAT }} - uses: ComPWA/actions/.github/workflows/pre-commit.yml@v1 + uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2 with: python-version: "3.11" diff --git a/.github/workflows/clean-caches.yml b/.github/workflows/clean-caches.yml index 939e13612..7986e0cf7 100644 --- a/.github/workflows/clean-caches.yml +++ b/.github/workflows/clean-caches.yml @@ -16,7 +16,7 @@ jobs: name: Remove caches runs-on: ubuntu-24.04 steps: - - uses: ComPWA/actions/clean-caches@v1 + - uses: ComPWA/actions/clean-caches@v2 with: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} ref: ${{ inputs.ref }} diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index 0fab84100..44dc9e426 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -11,4 +11,4 @@ on: jobs: lint-pr: - uses: ComPWA/actions/.github/workflows/pr-linting.yml@v1 + uses: ComPWA/actions/.github/workflows/pr-linting.yml@v2 diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml index e16397914..765211a23 100644 --- a/.github/workflows/requirements.yml +++ b/.github/workflows/requirements.yml @@ -18,6 +18,6 @@ on: jobs: requirements: - uses: ComPWA/actions/.github/workflows/requirements.yml@v1 + uses: ComPWA/actions/.github/workflows/lock.yml@v2 secrets: token: ${{ secrets.PAT }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f99f288d..a20718c4d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/policy - rev: 0.5.0rc1 + rev: 0.5.0rc2 hooks: - id: check-dev-files args: