diff --git a/.github/workflows/build-checklists.yml b/.github/workflows/build-checklists.yml index d706010b97..9eaa04f580 100644 --- a/.github/workflows/build-checklists.yml +++ b/.github/workflows/build-checklists.yml @@ -18,11 +18,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Action - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: persist-credentials: false - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '20' - name: Install Dependencies @@ -38,7 +38,7 @@ jobs: fi - name: Setup Python if: env.CHANGED == 'true' - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.10" - name: Install Dependencies diff --git a/.github/workflows/build-ebooks.yml b/.github/workflows/build-ebooks.yml index f90795221c..07d5f42abe 100644 --- a/.github/workflows/build-ebooks.yml +++ b/.github/workflows/build-ebooks.yml @@ -19,13 +19,13 @@ jobs: CI: true steps: - name: Setup Action - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '20' - name: SetUp python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.x' - name: Install dependencies @@ -52,7 +52,7 @@ jobs: - name: Create Release if: github.event_name == 'push' id: create_release - uses: ncipollo/release-action@bcfe5470707e8832e12347755757cec0eb3c22af # v1.18.0 + uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0 with: name: Release ${{ steps.vars.outputs.tag }} artifacts: "./build/wstg-${{ steps.vars.outputs.tag }}.pdf, ./build/wstg-${{ steps.vars.outputs.tag }}.epub" @@ -65,7 +65,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Attach PDF and Epub if: github.event_name == 'workflow_dispatch' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wstg-${{ github.event.inputs.version }}-ebooks path: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 47ad9d60a4..f5d98647c8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -53,7 +53,7 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 # Add any setup steps before running the `github/codeql-action/init` action. # This includes steps like installing compilers or runtimes (`actions/setup-node` @@ -63,7 +63,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -91,6 +91,6 @@ jobs: exit 1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 9f594232bf..3fd33bd671 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -16,13 +16,13 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'failure' }} steps: - name: Download Artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: artifact github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} - name: Comment on PR - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/md-link-check.yml b/.github/workflows/md-link-check.yml index 6f90b15c0f..a712f852bd 100644 --- a/.github/workflows/md-link-check.yml +++ b/.github/workflows/md-link-check.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Action - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -24,7 +24,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: echo $PR_NUMBER > pr_number - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '20' - name: Install dependencies @@ -69,7 +69,7 @@ jobs: rm -f err log - name: Upload list of broken links if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: artifact path: | diff --git a/.github/workflows/md-lint-check.yml b/.github/workflows/md-lint-check.yml index e715828ffb..33500950c0 100644 --- a/.github/workflows/md-lint-check.yml +++ b/.github/workflows/md-lint-check.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -25,7 +25,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: echo $PR_NUMBER > pr_number - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '20' - name: Install dependencies @@ -45,7 +45,7 @@ jobs: cat lint.txt | tee -a artifact.txt - name: Upload list of issues if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: artifact path: | diff --git a/.github/workflows/md-textlint-check.yml b/.github/workflows/md-textlint-check.yml index 2cc9f29671..9bff794265 100644 --- a/.github/workflows/md-textlint-check.yml +++ b/.github/workflows/md-textlint-check.yml @@ -17,13 +17,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout PR - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} path: pr - name: Checkout Base - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: OWASP/wstg path: base @@ -32,7 +32,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: echo $PR_NUMBER > pr_number - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '20' - name: Install dependencies @@ -67,7 +67,7 @@ jobs: cat mistakes.txt | tee -a artifact.txt - name: Upload list of mistakes if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: artifact path: |