Skip to content

Commit

Permalink
Trigger update to pre-commit mirror after pypi publish (#1910)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbarrett314 authored Jan 16, 2023
1 parent f4cf48d commit 019ecc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,6 @@ jobs:
run: |
pip install --upgrade twine
twine upload --skip-existing *
- name: Update pre-commit mirror
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.RUFF_PRE_COMMIT_PAT }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/charliermarsh/ruff-pre-commit/dispatches --data '{"event_type": "build_pypi_release"}'

0 comments on commit 019ecc4

Please sign in to comment.