Skip to content

Commit

Permalink
Added github permissions (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
esanchezros authored Feb 1, 2024
1 parent 4823a9c commit ded0975
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

jobs:
analyze:
permissions:
contents: read
security-events: write
pull-requests: read
name: Analyze
runs-on: ubuntu-latest

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:

jobs:
build:
permissions:
contents: read
pull-requests: read
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down

0 comments on commit ded0975

Please sign in to comment.