From 8bd97d7dfdf52024dc5c0724ba93eaafdd115a34 Mon Sep 17 00:00:00 2001 From: Asher Foa Date: Wed, 12 Oct 2022 14:42:48 -0400 Subject: [PATCH] Update to latest version of the github-action-required-labels and changed-files actions (#17194) Since the older version use a deprecated NodeJS version. --- .github/workflows/test-cron.yaml | 2 +- .github/workflows/test.yaml | 4 ++-- build-support/bin/generate_github_workflows.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-cron.yaml b/.github/workflows/test-cron.yaml index 7e42e666e5b..3ff34af579d 100644 --- a/.github/workflows/test-cron.yaml +++ b/.github/workflows/test-cron.yaml @@ -293,7 +293,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: github.event_name == 'pull_request' name: Ensure category label - uses: mheap/github-action-required-labels@v1 + uses: mheap/github-action-required-labels@v2.1.0 with: count: 1 labels: category:new feature, category:user api change, category:plugin api diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4277a2f86bf..1f2da0bf9a5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -727,7 +727,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: github.event_name == 'pull_request' name: Ensure category label - uses: mheap/github-action-required-labels@v1 + uses: mheap/github-action-required-labels@v2.1.0 with: count: 1 labels: category:new feature, category:user api change, category:plugin api @@ -747,7 +747,7 @@ jobs: fetch-depth: 10 - id: files name: Get changed files - uses: tj-actions/changed-files@v23.1 + uses: tj-actions/changed-files@v32.0.0 with: files_ignore: docs/**|build-support/bin/generate_user_list.py files_ignore_separator: '|' diff --git a/build-support/bin/generate_github_workflows.py b/build-support/bin/generate_github_workflows.py index c5efd348154..ad07a0e756e 100644 --- a/build-support/bin/generate_github_workflows.py +++ b/build-support/bin/generate_github_workflows.py @@ -110,7 +110,7 @@ def is_docs_only() -> Jobs: { "id": "files", "name": "Get changed files", - "uses": "tj-actions/changed-files@v23.1", + "uses": "tj-actions/changed-files@v32.0.0", "with": {"files_ignore_separator": "|", "files_ignore": "|".join(docs_files)}, }, { @@ -132,7 +132,7 @@ def ensure_category_label() -> Sequence[Step]: { "if": "github.event_name == 'pull_request'", "name": "Ensure category label", - "uses": "mheap/github-action-required-labels@v1", + "uses": "mheap/github-action-required-labels@v2.1.0", "env": {"GITHUB_TOKEN": gha_expr("secrets.GITHUB_TOKEN")}, "with": { "mode": "exactly",