From 59ed4a3e3c06479335aaedc73268bf9e9385bfec Mon Sep 17 00:00:00 2001 From: "Openverse (Bot)" <101814513+openverse-bot@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:39:35 -0400 Subject: [PATCH] Update workflows (major) (#5164) --- .github/workflows/ci_cd.yml | 2 +- .github/workflows/discussion_ping.yml | 2 +- .github/workflows/pr_limit_reminders.yml | 2 +- .github/workflows/pr_ping.yml | 2 +- .github/workflows/renovate.yml | 2 +- .pre-commit-config.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 0e6efbcc618..b5a2a03a22b 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -1447,7 +1447,7 @@ jobs: run: python generate_report.py - name: Send report - uses: slackapi/slack-github-action@v1 + uses: slackapi/slack-github-action@v2 with: payload: ${{ steps.report.outputs.payload }} env: diff --git a/.github/workflows/discussion_ping.yml b/.github/workflows/discussion_ping.yml index 26e664df9d4..ec2acbe5e07 100644 --- a/.github/workflows/discussion_ping.yml +++ b/.github/workflows/discussion_ping.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Send notification for new discussion id: slack - uses: slackapi/slack-github-action@v1 + uses: slackapi/slack-github-action@v2 with: payload: | { diff --git a/.github/workflows/pr_limit_reminders.yml b/.github/workflows/pr_limit_reminders.yml index 4f6bb34c157..e6877fab63f 100644 --- a/.github/workflows/pr_limit_reminders.yml +++ b/.github/workflows/pr_limit_reminders.yml @@ -41,7 +41,7 @@ jobs: echo "required_review_count=$(( pr_count * 1 ))" >> "$GITHUB_ENV" - name: Send notification id: slack - uses: slackapi/slack-github-action@v1 + uses: slackapi/slack-github-action@v2 with: # Note: We cannot use the YAML folded chomping block syntax here (`>`) because # GitHub Actions does not support it (they only support a subset of YAML): diff --git a/.github/workflows/pr_ping.yml b/.github/workflows/pr_ping.yml index 963cc67ea4e..7c5be96d4aa 100644 --- a/.github/workflows/pr_ping.yml +++ b/.github/workflows/pr_ping.yml @@ -51,6 +51,6 @@ jobs: writeFileSync('/tmp/pr_ping_payload.json', JSON.stringify(payload)) - name: Send Slack notification - uses: slackapi/slack-github-action@v1 + uses: slackapi/slack-github-action@v2 with: payload-file-path: /tmp/pr_ping_payload.json diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 3327434ed52..ebc46917056 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -62,7 +62,7 @@ jobs: sudo chown -R runneradmin:root /tmp/renovate/ ls -R "$cache_dir" - - uses: renovatebot/github-action@v40.3.4 + - uses: renovatebot/github-action@v41.0.2 with: # Renovate recommends _not_ to use any of # [these names](https://docs.renovatebot.com/configuration-options/). diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5733a0a8f4f..0c83ca63306 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -154,7 +154,7 @@ repos: files: (.vale/.*|.mdx?)$ - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 38.133.1 + rev: 39.17.0 hooks: - id: renovate-config-validator args: