1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #1906 from marquiz/devel/github-permissions

github: specify workflow permissions
This commit is contained in:
Kubernetes Prow Robot 2024-10-14 20:08:22 +01:00 committed by GitHub
commit 391e8dccd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -10,12 +10,16 @@ on:
concurrency:
group: gh-pages
permissions:
contents: read
jobs:
update-docs:
name: Update gh-pages documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Install dependencies
run: |
sudo apt-get install -y jq curl

View file

@ -6,10 +6,15 @@ on:
concurrency:
group: gh-pages
permissions:
contents: read
jobs:
update-helm-repo:
name: Update gh-pages helm repo index
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Install Helm
uses: azure/setup-helm@v4