mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:19:08 +08:00
Merge pull request #19124 from Ultimaker/reduce-printer-linter-access-rights
Reduce permissions on printer-linter GitHub actions
This commit is contained in:
commit
8390505efd
@ -5,6 +5,9 @@ on:
|
|||||||
path:
|
path:
|
||||||
- "resources/**"
|
- "resources/**"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
printer-linter-diagnose:
|
printer-linter-diagnose:
|
||||||
name: Printer linter PR diagnose
|
name: Printer linter PR diagnose
|
||||||
|
3
.github/workflows/printer-linter-pr-post.yml
vendored
3
.github/workflows/printer-linter-pr-post.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
workflows: ["printer-linter-pr-diagnose"]
|
workflows: ["printer-linter-pr-diagnose"]
|
||||||
types: [completed]
|
types: [completed]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clang-tidy-results:
|
clang-tidy-results:
|
||||||
# Trigger the job only if the previous (insecure) workflow completed successfully
|
# Trigger the job only if the previous (insecure) workflow completed successfully
|
||||||
|
Loading…
x
Reference in New Issue
Block a user