workflows/*: add security hardening (#8518)
This commit is contained in:
4
.github/workflows/mirror.yml
vendored
4
.github/workflows/mirror.yml
vendored
@@ -4,8 +4,12 @@ on:
|
||||
push:
|
||||
branches: ['main']
|
||||
|
||||
permissions: {}
|
||||
jobs:
|
||||
mirror:
|
||||
permissions:
|
||||
contents: write # to update branch
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user