Merge pull request #3264 from sashashura/patch-1
GitHub Workflows security hardening
This commit is contained in:
@@ -5,8 +5,15 @@ on:
|
|||||||
types:
|
types:
|
||||||
- published
|
- published
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-release-artifacts:
|
publish-release-artifacts:
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
actions: write # to attach binaries to release artifacts (skx/github-action-publish-binaries)
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user