ci: update the pr template and add comment-on-pr workflow #1945
Workflow file for this run
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-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 |