Skip to content

Commit c9f9f92

Browse files
DO NOT MERGE, TESTING BETTER AUTOUPDATE COMMIT
1 parent 39527e8 commit c9f9f92

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ on:
66

77
jobs:
88
pre-commit:
9-
uses: ./.github/workflows/reusable-pre-commit.yml
10-
with:
11-
ros_distro: humble
9+
uses: ./.github/workflows/reusable-update-pre-commit.yml
10+
secrets:
11+
precommit-pr-token: ${{ secrets.PRECOMMIT_AUTOUPDATE_PR_TOKEN }}

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ jobs:
5050
id: git_status
5151
run: |
5252
cd ${{ env.path }}
53-
git diff --unified=1 --quiet && \
54-
echo "changed=false" >> $GITHUB_OUTPUT || \
55-
echo "changed=true" >> $GITHUB_OUTPUT
53+
git diff --unified=1 --quiet && echo "changed=false" >> $GITHUB_OUTPUT || echo "changed=true" >> $GITHUB_OUTPUT
5654
5755
- name: There are changes
5856
if: steps.git_status.outputs.changed == 'true'
@@ -72,7 +70,7 @@ jobs:
7270
with:
7371
token: ${{ secrets.GITHUB_TOKEN }}
7472
branch: auto-update-${{ github.event.inputs.ref_for_scheduled_build }}
75-
base: main
73+
base: fix-precommit
7674
commit-message: Bump version of pre-commit hooks
7775
title: Bump version of pre-commit hooks
7876
body: |

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727

2828
# Python hooks
2929
- repo: https://github.com/asottile/pyupgrade
30-
rev: v3.19.1
30+
rev: v3.18.0
3131
hooks:
3232
- id: pyupgrade
3333
args: [--py36-plus]

0 commit comments

Comments
 (0)