Merge pull request #694 from joycebrum/master

Actions: Set permissions to "contents: read" to avoid permissive workflows
This commit is contained in:
Sebastian Pipping 2023-03-07 23:03:11 +01:00 committed by GitHub
commit 646ddfd85a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 0 deletions

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Ensure that GNU Autotools and CMake build systems agree

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Ensure realistic minimum CMake version requirement

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Collect test coverage

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Run Cppcheck

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Check expat_config.h.{in,cmake} for regressions

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Perform checks

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Perform checks

View file

@ -35,6 +35,9 @@ on:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
permissions:
contents: read
jobs:
checks:
name: Ensure well-formed and valid XML