Change to running workflow via gh (#1117)

This commit is contained in:
Alex Kremer
2024-01-16 14:27:21 +00:00
committed by GitHub
parent 0cef9e0620
commit 81602e8ae7

View File

@@ -7,5 +7,11 @@ on:
jobs:
on_fix_merge:
if: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.title, '[CI] clang-tidy auto fixes') }}
uses: ./.github/workflows/clang-tidy.yml
secrets: inherit
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