use master for clang-tidy-pr-comments

This commit is contained in:
Jelle Spijker 2022-12-10 16:05:07 +01:00 committed by GitHub
parent c309b594c2
commit 9f3490893a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 116 additions and 116 deletions

View File

@ -3,7 +3,7 @@ name: printer-linter-pr-diagnose
on:
pull_request:
path:
- 'resources/**'
- "resources/**"
jobs:
printer-linter-diagnose:
@ -20,7 +20,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.11.x
cache: 'pip'
cache: "pip"
cache-dependency-path: .github/workflows/requirements-printer-linter.txt
- uses: technote-space/get-diff-action@v6
@ -52,7 +52,7 @@ jobs:
path: printer-linter-result/
- name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@fix_suggestions_for_multiline_comments
uses: platisd/clang-tidy-pr-comments@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
clang_tidy_fixes: result.yml

View File

@ -2,8 +2,8 @@ name: printer-linter-pr-post
on:
workflow_run:
workflows: [ "printer-linter-pr-diagnose" ]
types: [ completed ]
workflows: ["printer-linter-pr-diagnose"]
types: [completed]
jobs:
clang-tidy-results:
@ -73,7 +73,7 @@ jobs:
unzip printer-linter-result.zip -d printer-linter-result
- name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@fix_suggestions_for_multiline_comments
uses: platisd/clang-tidy-pr-comments@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
clang_tidy_fixes: printer-linter-result/fixes.yml