chore: sync main branch's workflows to beta branch #3325
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit-optional | |
on: | |
pull_request: | |
jobs: | |
pre-commit-optional: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run pre-commit | |
uses: autowarefoundation/autoware-github-actions/pre-commit@v1 | |
with: | |
pre-commit-config: .pre-commit-config-optional.yaml | |
base-branch: origin/${{ github.base_ref }} |