Skip to content

Commit

Permalink
ci: Update the actions version to the latest (#627)
Browse files Browse the repository at this point in the history
* ci: Update the actions version to the latest

* update label workflow to v5

* Update label.yml
  • Loading branch information
amareshsm authored Sep 24, 2024
1 parent 39c0146 commit c4c9748
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
8 changes: 6 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
playground:
- playground/**/*
- any:
- changed-files:
- any-glob-to-any-file: ['playground/**/*']

translation:
- src/_data/sites/*
- any:
- changed-files:
- any-glob-to-any-file: ['src/_data/sites/*']
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "npm"
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
label:
runs-on: ubuntu-latest
labeler:
permissions:
contents: read
pull-requests: write

runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@v5
with:
sync-labels: true

0 comments on commit c4c9748

Please sign in to comment.