mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 12:39:06 +08:00
Merge branch 'main' into test-diagnose-workflow
This commit is contained in:
commit
b2a0a9be41
@ -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:
|
||||||
|
4
.github/workflows/printer-linter-pr-post.yml
vendored
4
.github/workflows/printer-linter-pr-post.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user