File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build docs and check cloudformation and dead links
1+ name : Build docs, check CloudFormation, check for dead links
22concurrency :
33 group : ${{ github.workflow }}-${{ github.ref }}
44 cancel-in-progress : true
55on :
66 pull_request :
77 branches :
88 - main
9+ permissions :
10+ contents : read
911
1012jobs :
1113 check :
@@ -21,13 +23,13 @@ jobs:
2123 - name : Build documentation
2224 run : venv/bin/mkdocs build
2325 - name : Setup cloudformation linter
24- uses : ScottBrenner/cfn-lint-action@v2
26+ uses : ScottBrenner/cfn-lint-action@9636da81fb2e0cef75725d8dda11b0148940b7ae # v2.6.0
2527 - name : Run cloudformation lint
2628 run : cfn-lint -t stack.yml
27- - name : Check dead links
28- uses : tcort/github-action-markdown-link-check@v1
29+ - name : Run dead links check
30+ uses : tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 # v1.1.2
2931 with :
3032 folder-path : ' .'
31- config-file : ' markdown-link-check-config.yml'
32- use-verbose-mode : ' yes'
33- use-quiet-mode : ' yes'
33+ config-file : markdown-link-check-config.yml
34+ use-verbose-mode : yes
35+ use-quiet-mode : yes
You can’t perform that action at this time.
0 commit comments