Skip to content

Commit

Permalink
security: add permissions block to workflows (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Mar 13, 2024
1 parent 0e072ce commit ec9d6bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/add-to-apm-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
issues:
types:
- opened
permissions:
contents: read

jobs:
add_to_project:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/add-to-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- opened
- transferred

permissions:
contents: read

jobs:
add-to-project:
name: Add issue to project
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/label-elastic-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request_target:
types: [opened]

permissions:
contents: read

jobs:
safe-to-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ec9d6bd

Please sign in to comment.