Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update workflows (major) (#5164)

Openverse (Bot)59ed4a3e3c06
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 0e6efbcc6..b5a2a03a2 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 26e664df9..ec2acbe5e 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 4f6bb34c1..e6877fab6 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 963cc67ea..7c5be96d4 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 3327434ed..ebc469170 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/[email protected]
+ - uses: renovatebot/[email protected]
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 5733a0a8f..0c83ca633 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: