Merge branch 'main' into test-diagnose-workflow

This commit is contained in:
Erwan MATHIEU 2024-05-28 10:09:41 +02:00 committed by GitHub
commit b2a0a9be41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ jobs:
run: | run: |
echo ${{ github.event.number }} > printer-linter-result/pr-id.txt echo ${{ github.event.number }} > printer-linter-result/pr-id.txt
echo ${{ github.event.pull_request.head.repo.full_name }} > printer-linter-result/pr-head-repo.txt echo ${{ github.event.pull_request.head.repo.full_name }} > printer-linter-result/pr-head-repo.txt
echo ${{ github.event.pull_request.head.ref }} > printer-linter-result/pr-head-ref.txt echo ${{ github.event.pull_request.head.sha }} > printer-linter-result/pr-head-sha.txt
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:

View File

@ -99,7 +99,7 @@ jobs:
if: env.commentFileExists == 'true' if: env.commentFileExists == 'true'
uses: peter-evans/create-or-update-comment@v4 uses: peter-evans/create-or-update-comment@v4
with: with:
issue-number: ${{ env.pr_id }} issue-number: ${{ env.PR_ID }}
body-path: 'printer-linter-result/comment.md' body-path: 'printer-linter-result/comment.md'
- name: Run clang-tidy-pr-comments action - name: Run clang-tidy-pr-comments action
@ -107,5 +107,5 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
clang_tidy_fixes: printer-linter-result/fixes.yml clang_tidy_fixes: printer-linter-result/fixes.yml
pull_request_id: ${{ env.pr_id }} pull_request_id: ${{ env.PR_ID }}
request_changes: true request_changes: true