diff --git a/.github/workflows/bicep-audit.yml b/.github/workflows/bicep-audit.yml index b9672c9c8..2714d8dec 100644 --- a/.github/workflows/bicep-audit.yml +++ b/.github/workflows/bicep-audit.yml @@ -29,7 +29,7 @@ jobs: tools: templateanalyzer - name: Upload alerts to Security tab - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 if: github.repository_owner == 'Azure-Samples' with: sarif_file: ${{ steps.msdo.outputs.sarifFile }} diff --git a/.github/workflows/broken-links-checker.yml b/.github/workflows/broken-links-checker.yml index e4a52c1a0..72463f6db 100644 --- a/.github/workflows/broken-links-checker.yml +++ b/.github/workflows/broken-links-checker.yml @@ -31,7 +31,7 @@ jobs: echo "EOF" >> $GITHUB_OUTPUT - name: Check Broken Links in Added/Modified Files (PR) if: github.event_name == 'pull_request' && steps.changed-files.outputs.md_files != '' - uses: lycheeverse/lychee-action@v2.6.1 + uses: lycheeverse/lychee-action@v2.7.0 with: args: > --verbose --exclude-mail --no-progress --exclude ^https?:// @@ -42,7 +42,7 @@ jobs: - name: Check Broken Links in Entire Repo (Manual) if: github.event_name == 'workflow_dispatch' - uses: lycheeverse/lychee-action@v2.6.1 + uses: lycheeverse/lychee-action@v2.7.0 with: args: > --verbose --exclude-mail --no-progress --exclude ^https?:// diff --git a/.github/workflows/comment_coverage.yml b/.github/workflows/comment_coverage.yml index 04f549421..2519ad87d 100644 --- a/.github/workflows/comment_coverage.yml +++ b/.github/workflows/comment_coverage.yml @@ -18,7 +18,7 @@ jobs: github.event.workflow_run.conclusion != 'cancelled' steps: - name: Download artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: coverage github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml index 20e3e7c73..4ddc83c4f 100644 --- a/.github/workflows/stale-bot.yml +++ b/.github/workflows/stale-bot.yml @@ -75,7 +75,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload CSV Report of Inactive Branches - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: merged-branches-report path: merged_branches_report.csv diff --git a/.github/workflows/test-automation.yml b/.github/workflows/test-automation.yml index b5c4b7105..e3c017b7a 100644 --- a/.github/workflows/test-automation.yml +++ b/.github/workflows/test-automation.yml @@ -69,7 +69,7 @@ jobs: - name: Upload test report id: upload_report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: ${{ !cancelled() }} with: name: cwyd-test-report diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a241ca0b0..6ba1dab7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,7 @@ jobs: result-encoding: string retries: 3 - name: Download main coverage artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 if: github.event_name == 'pull_request' && steps.coverage-artifact.outputs.result != '' continue-on-error: true # There is a chance that the artifact doesn't exist, or has expired with: @@ -79,7 +79,7 @@ jobs: echo "MIN_COVERAGE=$MIN_COVERAGE" >> "$GITHUB_OUTPUT" - name: Run Python Tests run: make python-test optional_args="--junitxml=coverage-junit.xml --cov=. --cov-report xml:coverage.xml --cov-fail-under ${{ steps.coverage-value.outputs.MIN_COVERAGE }} ./code/tests" - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 if: ${{ !cancelled() }} with: name: coverage @@ -88,7 +88,7 @@ jobs: coverage.xml if-no-files-found: error - name: Setup node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: 20 cache: "npm"