Skip to content

Commit

Permalink
ci: update labeler actions (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim authored Oct 5, 2024
1 parent a77db97 commit c6a0669
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 18 deletions.
60 changes: 42 additions & 18 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,51 @@
card:
- changed-files:
- any-glob-to-any-file: ["src/card.ts"]
- changed-files:
- any-glob-to-any-file:
- "src/card.ts"

card-i18n:
- changed-files:
- any-glob-to-any-file: ["src/translations.ts"]
- changed-files:
- any-glob-to-any-file:
- "src/translations.ts"

ci:
- changed-files:
- any-glob-to-any-file: [".github/workflows/*", "scripts/*"]
- changed-files:
- any-glob-to-any-file:
- ".github/workflows/*"
- "scripts/*"

dependencies:
- changed-files:
- any-glob-to-any-file: ["package.json", "package-lock.json"]
- changed-files:
- any-glob-to-any-file:
- "package.json"
- "package-lock.json"

doc-translation:
- changed-files:
- any-glob-to-any-file: ["docs/*"]
- changed-files:
- any-glob-to-any-file:
- "docs/*"

documentation:
- changed-files:
- any-glob-to-any-file: ["README.md", "CONTRIBUTING.md", "CODE_OF_CONDUCT.md", "SECURITY.md"]
- changed-files:
- any-glob-to-any-file:
- "README.md"
- "CONTRIBUTING.md"
- "CODE_OF_CONDUCT.md"
- "SECURITY.md"

github_actions:
- changed-files:
- any-glob-to-any-file: [".github/*.yml", ".github/workflows/*"]
- changed-files:
- any-glob-to-any-file:
- ".github/*.yml"
- ".github/workflows/*"

stats-card:
- changed-files:
- any-glob-to-any-file: ["api/index.ts", "src/fetcher/*"]
- changed-files:
- any-glob-to-any-file:
- "api/index.ts"
- "src/fetcher/*"

themes:
- changed-files:
- any-glob-to-any-file: ["themes/index.ts"]
- changed-files:
- any-glob-to-any-file:
- "themes/index.ts"
1 change: 1 addition & 0 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ jobs:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

1 comment on commit c6a0669

@vercel
Copy link

@vercel vercel bot commented on c6a0669 Oct 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.