Skip to content

Commit

Permalink
Update to latest version of the github-action-required-labels and cha…
Browse files Browse the repository at this point in the history
…nged-files actions (pantsbuild#17194)

Since the older version use a deprecated NodeJS version.
  • Loading branch information
asherf authored and benjyw committed Oct 13, 2022
1 parent 920e590 commit b79603f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: '|'
Expand Down
4 changes: 2 additions & 2 deletions build-support/bin/generate_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
},
{
Expand All @@ -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",
Expand Down

0 comments on commit b79603f

Please sign in to comment.