Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ concurrency:
group: "pages"
cancel-in-progress: false

# for security reasons the github actions are pinned to specific release versions
# for security reasons the github actions are pinned to specific SHAs
jobs:
link_checker:
name: Link checker
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Link Checker
uses: lycheeverse/lychee-action@v2.8.0
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411
with:
args: >-
--verbose
--no-progress
--max-retries 1
--retry-wait-time 10
Expand All @@ -42,10 +43,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@v22.0.0
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101
with:
config: '.markdownlint.yaml'
globs: |
Expand All @@ -58,22 +59,22 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Spell check EN language
uses: rojopolis/spellcheck-github-actions@0.58.0
uses: rojopolis/spellcheck-github-actions@e3cd8e9aec4587ec73bc0e60745aafd45c37aa2e
with:
config_path: .spellcheck-en.yaml

- name: Spell check ES language
uses: rojopolis/spellcheck-github-actions@0.58.0
uses: rojopolis/spellcheck-github-actions@e3cd8e9aec4587ec73bc0e60745aafd45c37aa2e
with:
config_path: .spellcheck-es.yaml

# rojopolis/spellcheck-github-actions does not support PT-BR,
# only PT, and PT-BR is too different to pass a PT spellcheck
- name: Set up Python for PT-BR
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: '3.10'

Expand All @@ -93,10 +94,10 @@ jobs:
needs: [md_linter, spell_checker]
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.x

Expand Down Expand Up @@ -127,10 +128,10 @@ jobs:
needs: [md_linter, spell_checker]
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.x

Expand All @@ -150,7 +151,7 @@ jobs:
run: mkdocs build --config-file mkdocs-pdf-en.yaml

- name: Upload EN PDF
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: pdf-export-en
path: site/OWASP_Developer_Guide.pdf
Expand All @@ -159,7 +160,7 @@ jobs:
run: mkdocs build --config-file mkdocs-pdf-es.yaml

- name: Upload ES PDF
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: pdf-export-es
path: site/OWASP_Developer_Guide-ES.pdf
Expand All @@ -168,7 +169,7 @@ jobs:
run: mkdocs build --config-file mkdocs-pdf-fa.yaml

- name: Upload FA PDF
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: pdf-export-fa
path: site/OWASP_Developer_Guide-FA.pdf
Expand All @@ -177,7 +178,7 @@ jobs:
run: mkdocs build --config-file mkdocs-pdf-pt-br.yaml

- name: Upload PT-BR PDF
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: pdf-export-pt-br
path: site/OWASP_Developer_Guide-PT-BR.pdf
13 changes: 7 additions & 6 deletions .github/workflows/housekeeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: '15 6 * * *'
workflow_dispatch:

# for security reasons the github actions are pinned to specific release versions
# for security reasons the github actions are pinned to specific SHAs
jobs:
chores:
name: Tidy workflows
Expand All @@ -17,15 +17,15 @@ jobs:

steps:
- name: Delete stale workflow runs
uses: Mattraks/delete-workflow-runs@v2.1.0
uses: Mattraks/delete-workflow-runs@5bf9a1dac5c4d041c029f0a8370ddf0c5cb5aeb7
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 28
keep_minimum_runs: 10

- name: Delete unused workflows
uses: otto-de/purge-deprecated-workflow-runs@v4.0.4
uses: otto-de/purge-deprecated-workflow-runs@f586d3fe7f959c38ca76a0030521dfa47946bce3
with:
token: ${{ github.token }}

Expand All @@ -34,13 +34,14 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Link Checker
uses: lycheeverse/lychee-action@v2.8.0
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411
with:
# skip the jekyll files under '_includes' directory, check all other directories
args: >-
--verbose
--no-progress
--max-retries 1
--retry-wait-time 10
Expand All @@ -61,7 +62,7 @@ jobs:

steps:
- name: Tidy stale PRs and issues
uses: actions/stale@v10.2.0
uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f
with:
days-before-issue-stale: 183
days-before-issue-close: -1
Expand Down
31 changes: 16 additions & 15 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ on:
- main
workflow_dispatch:

# for security reasons the github actions are pinned to specific release versions
# for security reasons the github actions are pinned to specific SHAs
jobs:
link_checker:
name: Link checker
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Link Checker
uses: lycheeverse/lychee-action@v2.8.0
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411
with:
args: >-
--exclude 'github\.com/OWASP/DevGuide/blob/main/docs'
--verbose
--no-progress
--max-retries 1
--retry-wait-time 10
Expand All @@ -36,10 +37,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@v22.0.0
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101
with:
config: '.markdownlint.yaml'
globs: |
Expand All @@ -52,10 +53,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Spell check EN language
uses: rojopolis/spellcheck-github-actions@0.58.0
uses: rojopolis/spellcheck-github-actions@e3cd8e9aec4587ec73bc0e60745aafd45c37aa2e
with:
config_path: .spellcheck-en.yaml

Expand All @@ -64,10 +65,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Spell check ES language
uses: rojopolis/spellcheck-github-actions@0.58.0
uses: rojopolis/spellcheck-github-actions@e3cd8e9aec4587ec73bc0e60745aafd45c37aa2e
with:
config_path: .spellcheck-es.yaml

Expand All @@ -76,12 +77,12 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

# rojopolis/spellcheck-github-actions does not support PT-BR,
# only PT, and PT-BR is too different to pass a PT spellcheck
- name: Set up Python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: '3.10'

Expand All @@ -101,10 +102,10 @@ jobs:
needs: [md_linter, spell_checker_en, spell_checker_es, spell_checker_pt-br]
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.x

Expand Down Expand Up @@ -132,10 +133,10 @@ jobs:
needs: [build_check]
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.x

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
- ?.?.?*
workflow_dispatch:

# for security reasons the github actions are pinned to specific release versions
# for security reasons the github actions are pinned to specific SHAs
jobs:
export_pdf:
name: Export PDF
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.x

Expand All @@ -35,7 +35,7 @@ jobs:
run: mkdocs build

- name: Upload PDF
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: 'pdf-export'
path: 'site/OWASP_Developer_Guide.pdf'
Expand All @@ -46,10 +46,10 @@ jobs:
needs: [export_pdf]
steps:
- name: Check out
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Fetch prepared SBOM artifacts
uses: actions/download-artifact@v8.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
name: 'pdf-export'
path: 'site/OWASP_Developer_Guide.pdf'
Expand All @@ -60,7 +60,7 @@ jobs:
sed -e s/x.x.x/${releaseVersion:1}/g .release-note-template.md > ./release-notes.txt

- name: Create release notes
uses: softprops/action-gh-release@v2.5.0
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe
with:
draft: true
name: "${releaseVersion:1}"
Expand Down
2 changes: 2 additions & 0 deletions .wordlist-en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ AEAD
AES
APIT
APIs
APISIX
APK
ARP
ASVS
Expand Down Expand Up @@ -310,6 +311,7 @@ Threagile
ThreatAtlas
Tink
ToC
Traefik
Trivy
TrustWave
UEFI
Expand Down
Loading
Loading