workflows/*: add security hardening (#8518)

This commit is contained in:
Alex
2022-09-28 20:17:33 +03:00
committed by GitHub
parent 163f2452da
commit 0fbe2488eb
3 changed files with 12 additions and 0 deletions

View File

@@ -4,8 +4,12 @@ on:
push:
branches: ['main']
permissions: {}
jobs:
mirror:
permissions:
contents: write # to update branch
runs-on: ubuntu-latest
steps: