diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 048bf29..5f74ee7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -9,8 +9,8 @@ on: jobs: milestone: if: startsWith(github.ref, 'refs/tags') - uses: ComPWA/actions/.github/workflows/close-milestone.yml@v3 + uses: ComPWA/actions/.github/workflows/close-milestone.yml@v4 push: if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease secrets: inherit - uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v3 + uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v4 diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index 638dfc1..e15b56f 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@v3 + uses: ComPWA/actions/.github/workflows/pr-linting.yml@v4 diff --git a/README.md b/README.md index 4ddbf17..3be1f42 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Auto-update pre-commit GitHub Action -A small [custom, composite GitHub Action](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action) that is used by [ComPWA](https://github.com/ComPWA) repositories that pin constraints files (see [update-pip-constraints](https://github.com/ComPWA/update-pip-constraints)). The action is enforced in these repositories through [ComPWA/repo-maintenance](https://github.com/ComPWA/repo-maintenance). +> [!WARNING] +> This repository has been deprecated in favor of the [ComPWA/actions/.github/workflows/lock.yml@v4](https://github.com/ComPWA/actions/blob/v4/.github/workflows/lock.yml#L213-L236) workflow. + +A small [custom, composite GitHub Action](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action) that is used by [ComPWA](https://github.com/ComPWA) repositories that pin constraints files (see [update-pip-constraints](https://github.com/ComPWA/update-pip-constraints)). The action is enforced in these repositories through [ComPWA/policy](https://github.com/ComPWA/policy). ## Example workflow @@ -10,7 +13,7 @@ jobs: name: pre-commit autoupdate runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Check if there are changes to pre-commit config @@ -26,11 +29,11 @@ jobs: needs: - pre-commit steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: token: ${{ secrets.PAT }} # GITHUB_TOKEN will not rerun checks after pushing to a PR branch - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v7 with: path: pre-commit - run: | diff --git a/action.yml b/action.yml index ba82eb9..7a6ecf9 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,7 @@ runs: - uses: actions/setup-python@v6 with: python-version: ${{ inputs.python-version }} - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 - env: FORCE_COLOR: True UV_SYSTEM_PYTHON: True @@ -22,7 +22,7 @@ runs: - name: Show changes run: git diff --color --unified=0 shell: bash - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: if-no-files-found: error include-hidden-files: true