Skip to content
Merged
Show file tree
Hide file tree
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
51 changes: 0 additions & 51 deletions .github/actions/update-precommit/action.yml

This file was deleted.

20 changes: 11 additions & 9 deletions .github/workflows/update-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ on:
workflow_dispatch:

permissions:
contents: write
pull-requests: write
actions: write
checks: write
repository-projects: write
contents: read
pull-requests: read

jobs:
update-pre-commit:
if: ${{ github.repository == 'learning-process/parallel_programming_course' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Update pre-commit hooks
uses: ./.github/actions/update-precommit
uses: tagdots/update-pre-commit-action@1.0.28
Comment thread
aobolensk marked this conversation as resolved.
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
file: .pre-commit-config.yaml
dry-run: false
open-pr: true
Loading