Skip to content

Commit

Permalink
Merge pull request #19124 from Ultimaker/reduce-printer-linter-access…
Browse files Browse the repository at this point in the history
…-rights

Reduce permissions on printer-linter GitHub actions
  • Loading branch information
jellespijker committed May 23, 2024
2 parents 1e69f47 + 170c511 commit 8390505
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/printer-linter-pr-diagnose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
path:
- "resources/**"

permissions:
contents: read

jobs:
printer-linter-diagnose:
name: Printer linter PR diagnose
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/printer-linter-pr-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8390505

Please sign in to comment.