mirror of
https://github.com/facebook/zstd.git
synced 2025-11-27 00:05:09 -05:00
Make Github workflows permissions read-only by default (#3488)
* Make Github workflows permissions read-only by default * Pins `skx/github-action-publish-binaries` action to specific hash
This commit is contained in:
parent
886de7bc04
commit
727d03161f
2
.github/workflows/dev-long-tests.yml
vendored
2
.github/workflows/dev-long-tests.yml
vendored
@ -9,6 +9,8 @@ on:
|
||||
pull_request:
|
||||
branches: [ dev, release, actionsTest ]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
make-all:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
2
.github/workflows/dev-short-tests.yml
vendored
2
.github/workflows/dev-short-tests.yml
vendored
@ -10,6 +10,8 @@ on:
|
||||
pull_request:
|
||||
branches: [ dev, release, actionsTest ]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
linux-kernel:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -5,8 +5,7 @@ on:
|
||||
types:
|
||||
- published
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
publish-release-artifacts:
|
||||
@ -68,7 +67,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Publish
|
||||
uses: skx/github-action-publish-binaries@release-2.0
|
||||
uses: skx/github-action-publish-binaries@b9ca5643b2f1d7371a6cba7f35333f1461bbc703 # tag=release-2.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user