mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:39:01 +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:
|
||||
- "resources/**"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
printer-linter-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"]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
clang-tidy-results:
|
||||
# Trigger the job only if the previous (insecure) workflow completed successfully
|
||||
|
Loading…
x
Reference in New Issue
Block a user