Skip to content

Commit 7aad003

Browse files
committed
XYZ-12345 New config
1 parent 7b8eaf2 commit 7aad003

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pipeline.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
- name: Checkout code
1212
uses: actions/checkout@v4
1313
with:
14-
fetch-depth: 1
14+
fetch-depth: 0
15+
ref: main
1516
- name: Super-linter
1617
uses: super-linter/[email protected]
1718
env:
@@ -24,11 +25,10 @@ jobs:
2425
FIX_SHELL_SHFMT: true
2526
FIX_YAML_PRETTIER: true
2627
- name: Commit and push linting fixes
27-
if: >
28-
github.ref_name != github.event.repository.default_branch
28+
if: github.ref_name != 'main'
2929
uses: stefanzweifel/git-auto-commit-action@v5
3030
with:
31-
branch: ${{ github.head_ref || github.ref }}
31+
branch: ${{ github.ref_name }}
3232
commit_message: "chore: fix linting issues"
3333
commit_user_name: Wesley Scholl
3434
commit_user_email: [email protected]

0 commit comments

Comments
 (0)