Browse Source

Don't run upgrade-patch jobs on forks (#12206)

With the current github-workflow setup, workflows are triggered on every
forked repository (which is quite wasteful).

Add a condition to only run on the main repository.
pull/12044/merge
Max Gautier 4 months ago
committed by GitHub
parent
commit
e618421697
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. 1
      .github/workflows/upgrade-patch-versions-schedule.yml

1
.github/workflows/upgrade-patch-versions-schedule.yml

@ -8,6 +8,7 @@ on:
permissions: {}
jobs:
get-releases-branches:
if: github.repository == 'kubernetes-sigs/kubespray'
runs-on: ubuntu-latest
outputs:
branches: ${{ steps.get-branches.outputs.data }}

Loading…
Cancel
Save