Skip to content

Commit

Permalink
feat (action) add management actions
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshurajora committed Dec 28, 2023
1 parent c3acafb commit 8b2d4d4
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @himanshurajora @spark117code
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
35 changes: 35 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Examples:
- any: ['examples/**']

Library:
- all: ['lib/**']

ReadMe:
- all: ['readme.md']

CodeEditor:
- all: ['.vscode/**']

Tests:
- any: ['test/**', '**/*.test.ts', '**/*.test.js, *.spec.ts']

Core:
- all: ['src/**']

CoreWithTests:
- all: ['lib/core/**', 'test/**']

Actions:
- all: ['.github/**']

Docs:
- all: ['Docs/**']

Types:
- all: ['lib/types/**']

Packages:
- all: ['**/**/package*.json']

Codeowners:
- all: ['.github/CODEOWNERS']
22 changes: 22 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

jobs:
label:

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 8b2d4d4

Please sign in to comment.