Skip to content

Commit 22bce18

Browse files
authored
fix(action): main and not master. (jenkins-docs#147)
1 parent bc41c90 commit 22bce18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/updatecli.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
env:
3434
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535

36-
# This step runs Updatecli in Apply mode, but only if the current branch is 'master'
36+
# This step runs Updatecli in Apply mode, but only if the current branch is 'main'
3737
# It uses the "apply" command of updatecli with the specified config and values files
3838
# The GitHub token is passed as an environment variable
3939
- name: Run Updatecli in Apply mode
40-
if: github.ref == 'refs/heads/master'
40+
if: github.ref == 'refs/heads/main'
4141
run: updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
4242
env:
43-
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)