Skip to content

ci: update the pr template and add comment-on-pr workflow #1945

ci: update the pr template and add comment-on-pr workflow

ci: update the pr template and add comment-on-pr workflow #1945

name: pre-commit-ansible
on:
pull_request:
jobs:
pre-commit-ansible:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Ansible Galaxy depends for ansible-lint
run: |
ansible-galaxy collection install -f -r ansible-galaxy-requirements.yaml
- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
with:
pre-commit-config: .pre-commit-config-ansible.yaml