From 5b9b47e8fb8dbb7a6c0c6ecddbe30ac9b540162e Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Mon, 11 Mar 2024 09:19:06 +0100 Subject: [PATCH] fix(action): main and not master. --- .github/workflows/updatecli.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/updatecli.yaml b/.github/workflows/updatecli.yaml index e506738a..40d0ccc0 100644 --- a/.github/workflows/updatecli.yaml +++ b/.github/workflows/updatecli.yaml @@ -33,11 +33,11 @@ jobs: env: UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # This step runs Updatecli in Apply mode, but only if the current branch is 'master' + # This step runs Updatecli in Apply mode, but only if the current branch is 'main' # It uses the "apply" command of updatecli with the specified config and values files # The GitHub token is passed as an environment variable - name: Run Updatecli in Apply mode - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml env: - UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}