8
.github/workflows/check-markdown.yml
vendored
8
.github/workflows/check-markdown.yml
vendored
@@ -5,19 +5,19 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: tj-actions/changed-files@v45
|
- uses: tj-actions/changed-files@v47
|
||||||
id: changed-files
|
id: changed-files
|
||||||
with:
|
with:
|
||||||
files: '**/*.md'
|
files: '**/*.md'
|
||||||
separator: ","
|
separator: ","
|
||||||
|
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v17
|
- uses: DavidAnson/markdownlint-cli2-action@v20
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
with:
|
with:
|
||||||
globs: ${{ steps.changed-files.outputs.all_changed_files }}
|
globs: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
separator: ","
|
separator: ","
|
||||||
config: ./.github/.markdownlint.json
|
config: ./.github/.markdownlint.json
|
||||||
|
|||||||
6
.github/workflows/mkdocs-build.yml
vendored
6
.github/workflows/mkdocs-build.yml
vendored
@@ -8,12 +8,12 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# Checks-out submodules
|
# Checks-out submodules
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v5
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
git submodule add https://github.com/swisskyrepo/PayloadsAllTheThings/ docs
|
git submodule add https://github.com/swisskyrepo/PayloadsAllTheThings/ docs
|
||||||
mv docs/.github/overrides .
|
mv docs/.github/overrides .
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- run: pip install mkdocs-material
|
- run: pip install mkdocs-material
|
||||||
|
|||||||
Reference in New Issue
Block a user