We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b8eaf2 commit 7aad003Copy full SHA for 7aad003
.github/workflows/pipeline.yaml
@@ -11,7 +11,8 @@ jobs:
11
- name: Checkout code
12
uses: actions/checkout@v4
13
with:
14
- fetch-depth: 1
+ fetch-depth: 0
15
+ ref: main
16
- name: Super-linter
17
uses: super-linter/[email protected]
18
env:
@@ -24,11 +25,10 @@ jobs:
24
25
FIX_SHELL_SHFMT: true
26
FIX_YAML_PRETTIER: true
27
- name: Commit and push linting fixes
- if: >
28
- github.ref_name != github.event.repository.default_branch
+ if: github.ref_name != 'main'
29
uses: stefanzweifel/git-auto-commit-action@v5
30
31
- branch: ${{ github.head_ref || github.ref }}
+ branch: ${{ github.ref_name }}
32
commit_message: "chore: fix linting issues"
33
commit_user_name: Wesley Scholl
34
commit_user_email: [email protected]
0 commit comments