Change to running workflow via gh #8
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: On clang-tidy auto fixes merged | |
on: | |
pull_request: | |
types: [closed] | |
branches: [develop] | |
jobs: | |
on_fix_merge: | |
if: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.title, '[CI] clang-tidy auto fixes') }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Run clang-tidy workflow | |
shell: bash | |
env: | |
GH_TOKEN: ${{ github.token }} | |
GH_REPO: ${{ github.repository }} | |
run: gh workflow run clang-tidy.yml |