Skip to content

Commit 29f085a

Browse files
committed
feat: update yaml
1 parent ba054e4 commit 29f085a

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

.github/workflows/super-linter.yml

+21-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Super Linter
22

3-
on: # yamllint disable-line rule:truthy
4-
push: null
5-
pull_request: null
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
68

79
permissions:
810
contents: read
@@ -54,19 +56,23 @@ jobs:
5456
# To reuse the same Super-linter configuration that you use in the
5557
# lint job without duplicating it, see
5658
# https://github.com/super-linter/super-linter/blob/main/docs/run-linter-locally.md#share-environment-variables-between-environments
57-
- name: Commit and push linting fixes
58-
# Run only on:
59-
# - Pull requests
60-
# - Not on the default branch
61-
if: >
62-
github.event_name == 'pull_request' &&
63-
github.ref_name != github.event.repository.default_branch
64-
uses: stefanzweifel/git-auto-commit-action@v5
59+
- name: add
60+
uses: EndBug/add-and-commit@v9
6561
with:
66-
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
67-
commit_message: "chore: fix linting issues"
68-
commit_user_name: super-linter
69-
commit_user_email: [email protected]
62+
default_author: github_actions
63+
# - name: Commit and push linting fixes
64+
# # Run only on:
65+
# # - Pull requests
66+
# # - Not on the default branch
67+
# if: >
68+
# github.event_name == 'pull_request' &&
69+
# github.ref_name != github.event.repository.default_branch
70+
# uses: stefanzweifel/git-auto-commit-action@v5
71+
# with:
72+
# branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
73+
# commit_message: "chore: fix linting issues"
74+
# commit_user_name: super-linter
75+
# commit_user_email: [email protected]
7076

7177
# on:
7278
# push:

0 commit comments

Comments
 (0)