Skip to content

Commit 9d976b0

Browse files
fix github_token error & switch branch fail (#38)
* fix github_token error & switch branch fail
1 parent ef33099 commit 9d976b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/yaml-lint.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ jobs:
1010
steps:
1111
- name: Check out repository content
1212
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
1315

1416
- name: Run YAML Lint
1517
uses: github/super-linter@v4
1618
env:
1719
VALIDATE_ALL_CODEBASE: false
1820
VALIDATE_YAML: true
19-
YAML_LINTER_RULES_PATH: .github/workflows/.yamllint
21+
YAML_LINTER_RULES_PATH: .github/workflows/.yamllint
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)