Skip to content

Commit

Permalink
ci: add minimum GitHub token permissions for workflows (openemr#5801)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Kurmi <[email protected]>
  • Loading branch information
ashishkurmi authored Dec 6, 2022
1 parent 04dbf43 commit 8176e29
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/manual-build-php-fpm-dockers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Manual Build php-fpm Dockers
on:
workflow_dispatch:

permissions:
contents: read

jobs:

build_7_3:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/styling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:

php_styling:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-20.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:

build_apache_74_106:
Expand Down

0 comments on commit 8176e29

Please sign in to comment.