Skip to content

ci(sync-files): utilize the sync-file-templates repository #890

ci(sync-files): utilize the sync-file-templates repository

ci(sync-files): utilize the sync-file-templates repository #890

# This file is automatically synced from:
# https://github.com/autowarefoundation/sync-file-templates
# To make changes, update the source repository and follow the guidelines in its README.
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 }}