chore(github): Disable some GH actions on forks (#2566)
Signed-off-by: Tim Collins <tim@thecollins.team>
This commit is contained in:
parent
d0cf368fcd
commit
d0647e4a50
2 changed files with 2 additions and 0 deletions
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
|
@ -12,6 +12,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
publish:
|
||||
if: github.repository == 'argoproj/argo-helm'
|
||||
permissions:
|
||||
contents: write # for helm/chart-releaser-action to push chart release and create a release
|
||||
packages: write # to push OCI chart package to GitHub Registry
|
||||
|
|
1
.github/workflows/renovate.yaml
vendored
1
.github/workflows/renovate.yaml
vendored
|
@ -12,6 +12,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
renovate:
|
||||
if: github.repository == 'argoproj/argo-helm'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get token
|
||||
|
|
Loading…
Reference in a new issue