Skip to content

Commit

Permalink
feat: add pull request labeler (coinbase#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou authored Jun 13, 2024
1 parent 75060d1 commit b292ebd
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
root:
- changed-files:
- any-glob-to-any-file: '*'

framegear:
- changed-files:
- any-glob-to-any-file: framegear/**

documentation:
- changed-files:
- any-glob-to-any-file: site/**

'pkg: core':
- changed-files:
- any-glob-to-any-file: src/core/**

'pkg: definitions':
- changed-files:
- any-glob-to-any-file: src/definitions/**

'pkg: farcaster':
- changed-files:
- any-glob-to-any-file: src/farcaster/**

'pkg: frame':
- changed-files:
- any-glob-to-any-file: src/frame/**

'pkg: identity':
- changed-files:
- any-glob-to-any-file: src/identity/**

'pkg: network':
- changed-files:
- any-glob-to-any-file: src/network/**

'pkg: styles':
- changed-files:
- any-glob-to-any-file: src/styles/**

'pkg: swap':
- changed-files:
- any-glob-to-any-file: src/swap/**

'pkg: token':
- changed-files:
- any-glob-to-any-file: src/token/**

'pkg: utils':
- changed-files:
- any-glob-to-any-file: src/utils/**

'pkg: wallet':
- changed-files:
- any-glob-to-any-file: src/wallet/**

'pkg: xmtp':
- changed-files:
- any-glob-to-any-file: src/xmtp/**
13 changes: 13 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Pull Request Labeler"
on:
pull_request:
branches: ['main']

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit b292ebd

Please sign in to comment.