mirror of
https://github.com/actions/labeler.git
synced 2025-12-10 11:41:56 +00:00
Update Node.js version to 24 in action and dependencies (#891)
* Update Node.js version to 24 in action and dependencies Bump the required Node.js version to 24 in action.yml and package.json. Update @types/node to ^24.1.0 to match the new Node.js version. * package.json version update * update to the latest versions --------- Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
This commit is contained in:
10
README.md
10
README.md
@@ -162,7 +162,7 @@ jobs:
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v5
|
||||
- uses: actions/labeler@v6
|
||||
```
|
||||
|
||||
#### Inputs
|
||||
@@ -182,10 +182,10 @@ You might want to use action called [@actions/checkout](https://github.com/actio
|
||||
|
||||
```yml
|
||||
steps:
|
||||
- uses: actions/checkout@v4 # Uploads repository content to the runner
|
||||
- uses: actions/checkout@v5 # Uploads repository content to the runner
|
||||
with:
|
||||
repository: "owner/repositoryName" # The one of the available inputs, visit https://github.com/actions/checkout#readme to find more
|
||||
- uses: actions/labeler@v5
|
||||
- uses: actions/labeler@v6
|
||||
with:
|
||||
configuration-path: 'path/to/the/uploaded/configuration/file'
|
||||
|
||||
@@ -208,7 +208,7 @@ jobs:
|
||||
steps:
|
||||
|
||||
# Label PRs 1, 2, and 3
|
||||
- uses: actions/labeler@v5
|
||||
- uses: actions/labeler@v6
|
||||
with:
|
||||
pr-number: |
|
||||
1
|
||||
@@ -241,7 +241,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: label-the-PR
|
||||
uses: actions/labeler@v5
|
||||
uses: actions/labeler@v6
|
||||
|
||||
- id: run-frontend-tests
|
||||
if: contains(steps.label-the-PR.outputs.all-labels, 'frontend')
|
||||
|
||||
Reference in New Issue
Block a user