Skip to content

Commit

Permalink
pre-commit ci as action
Browse files Browse the repository at this point in the history
  • Loading branch information
woensug-choi committed May 31, 2024
1 parent f2d3a24 commit 16c87d6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Pre-commit.ci

# yamllint disable-line rule:truthy
on:
push:
tags: ["*"]
branches:
- ros2

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
#
# See https://github.com/pre-commit/pre-commit
---
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ros2
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
autoupdate_schedule: weekly
skip: []
submodules: false
# ci:
# autofix_commit_msg: |
# [pre-commit.ci] auto fixes from pre-commit.com hooks

# for more information, see https://pre-commit.ci
# autofix_prs: true
# autoupdate_branch: ros2
# autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
# autoupdate_schedule: weekly
# skip: []
# submodules: false

repos:
# Standard hooks
Expand Down

0 comments on commit 16c87d6

Please sign in to comment.