GitHub Workflows security hardening (#5992)
* build: harden update-changelog.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> * build: harden tests.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com> * Update update-changelog.yml * Update tests.yml Co-authored-by: Dries Vints <dries@vints.io>
This commit is contained in:
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -1,6 +1,14 @@
|
||||
name: Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '*.x'
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
||||
Reference in New Issue
Block a user