Skip to content

Commit

Permalink
chore: clean up pre-commit-update workflow (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamagalhaes authored Oct 22, 2024
1 parent 61597ab commit 2ab0694
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 41 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/pre-commit-auto-update-base.yml

This file was deleted.

24 changes: 19 additions & 5 deletions .github/workflows/pre-commit-auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@ on:

jobs:
pre-commit-auto-update:
uses: ./.github/workflows/pre-commit-auto-update-base.yml
with:
PR_TITLE: "chore: auto-update pre-commit hooks"
PR_TEAM_REVIEWERS: sdk-team
secrets: inherit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install pre-commit
run: pip install pre-commit

- name: Run pre-commit autoupdate
run: pre-commit autoupdate

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PROJECT_AND_REPO_PAT }}
branch: chore/pre-commit-auto-update
title: "chore: auto-update pre-commit hooks"
commit-message: "auto-update pre-commit hooks"
body: |
Update pre-commit hooks to latest version

0 comments on commit 2ab0694

Please sign in to comment.