Skip to content

Commit 86e845e

Browse files
authored
Added new job commit that needs job build
1 parent 669bfbb commit 86e845e

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/action-superlint.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414

1515
permissions:
1616
contents: read
17-
# To write linting fixes
18-
packages: write
17+
packages: read
1918
# To report GitHub Actions status checks
2019
statuses: write
2120

@@ -38,6 +37,20 @@ jobs:
3837
FIX_MARKDOWN: true
3938
FIX_YAML_PRETTIER: true
4039

40+
commit:
41+
name: Commit Lint fixes
42+
runs-on: ubuntu-latest
43+
needs: build
44+
if: ${{ always() }}
45+
46+
permissions:
47+
# To write linting fixes
48+
contents: write
49+
packages: read
50+
# To report GitHub Actions status checks
51+
statuses: write
52+
53+
steps:
4154
- name: Commit and push linting fixes
4255
# Run only on:
4356
# - Pull requests

0 commit comments

Comments
 (0)