Skip to content

Commit

Permalink
Add permissions to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matschieu committed Jan 19, 2025
1 parent 4a6809c commit 789b462
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

name: Java CI with Maven

permissions:
actions: read
contents: read

on:
push:
branches: [ main ]
Expand All @@ -11,7 +15,7 @@ on:
schedule:
- cron: '0 20 * * *'

jobs:
jobs:
build:

runs-on: ubuntu-latest
Expand Down

0 comments on commit 789b462

Please sign in to comment.