Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/pre-commit-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,38 @@ jobs:
env:
SKIP: "poetry-version-resetter"

- name: Upload changed .pre-commit-config.yaml
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ".pre-commit-config.yaml"
path: ".pre-commit-config.yaml"

# This second, dependent job is necessary to isolate the content:write permissions that the auto-update job doesn't need.
pr:
needs: auto-update
permissions:
contents: write
Comment thread
colindean marked this conversation as resolved.
actions: none
checks: none
deployments: none
issues: none
discussions: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
persist-credentials: false
Comment thread
colindean marked this conversation as resolved.

- name: Download changed .pre-commit-config.yaml
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ".pre-commit-config.yaml"

- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
if: always()
with:
Expand Down
Loading