From 9801bbf671c1cd9f591582cbf1890e812f5506f4 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Mon, 28 Sep 2020 20:25:05 +0200 Subject: [PATCH] Fixes changelog to run only on master Thanks @christophd for reporting this on camel-k --- .github/workflows/automatic-changelog-update.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/automatic-changelog-update.yml b/.github/workflows/automatic-changelog-update.yml index 314d7e370..62236a405 100644 --- a/.github/workflows/automatic-changelog-update.yml +++ b/.github/workflows/automatic-changelog-update.yml @@ -26,6 +26,7 @@ jobs: generate_changelog: runs-on: ubuntu-latest name: Generate changelog for master branch + if: github.ref == 'refs/heads/master' && github.repository == 'apache/camel-k-runtime' steps: - uses: actions/checkout@v1