Skip to content

Commit

Permalink
Merge pull request #1926 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1906-to-release-0.15

[release-0.15] github: specify workflow permissions
  • Loading branch information
k8s-ci-robot authored Oct 23, 2024
2 parents 01446d2 + b024fa1 commit 65920be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v3
Expand Down

0 comments on commit 65920be

Please sign in to comment.