CI: update backport workflow with more conditions (#109541)

update backport workflow with more conditions
This commit is contained in:
Kevin Minehart
2025-08-22 15:03:38 +00:00
committed by GitHub
parent cbb54c517d
commit 2450f6d0de
+1 -1
View File
@@ -13,7 +13,7 @@ permissions: {}
jobs:
backport:
# Only run this job if the triggering workflow was not skipped (and on grafana repo)
if: github.repository == 'grafana/grafana' && github.event.workflow_run.conclusion == 'success'
if: github.event.workflow_run.head_repository.fork == false && github.repository == 'grafana/grafana' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
permissions:
id-token: write