From ff78af5808eef4266b195abec5a0f0c3b82711f3 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 18 Feb 2021 15:37:24 +0100 Subject: [PATCH] Run bootstrap for trusted PRs Signed-off-by: Hidde Beydals --- .github/workflows/bootstrap.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bootstrap.yaml b/.github/workflows/bootstrap.yaml index 15206130..90670e5b 100644 --- a/.github/workflows/bootstrap.yaml +++ b/.github/workflows/bootstrap.yaml @@ -2,11 +2,14 @@ name: bootstrap on: push: - branches: [ '*' ] + branches: [ main ] + pull_request: + branches: [ main ] jobs: github: runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'fluxcd' }} steps: - name: Checkout uses: actions/checkout@v2