Skip to content

Commit dc8b880

Browse files
authored
fix: update pre-commit config failing (#44)
1 parent db5c08c commit dc8b880

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/update-pre-commit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ permissions:
1616
jobs:
1717
update:
1818
permissions:
19-
contents: write # for peter-evans/create-pull-request to create branch
20-
pull-requests: write # for peter-evans/create-pull-request to create a PR
19+
contents: write # for peter-evans/create-pull-request to create branch
20+
pull-requests: write # for peter-evans/create-pull-request to create a PR
2121
runs-on: ubuntu-20.04
2222

2323
steps:
@@ -45,13 +45,13 @@ jobs:
4545
4646
- name: Sync `dev-requirements.txt`
4747
run: |
48-
python .github/update-dev-requirements.py
48+
python .github/workflows/update-dev-requirements.py
4949
5050
- name: Create Pull Request
5151
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
5252
with:
53-
commit-message: "chore: update pre-commit config"
54-
title: "chore: update pre-commit config"
53+
commit-message: 'chore: update pre-commit config'
54+
title: 'chore: update pre-commit config'
5555
branch: chore-precommit-config
5656
delete-branch: true
5757
author: GitHub <[email protected]>

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ runs:
7474
- uses: github/codeql-action/upload-sarif@v2
7575
with:
7676
sarif_file: /tmp/scan-report.sarif
77-
- run: rm scan-result.html scan-result.pdf scan-result.json
77+
- run: rm -f scan-result.html scan-result.pdf scan-result.json
7878
shell: bash

0 commit comments

Comments
 (0)