Skip to content

Commit

Permalink
ci: add pull request labeler workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 23, 2024
1 parent 695c983 commit 0e1b097
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
examples:
- changed-files:
- any-glob-to-any-file: examples/**

'pkg: commerce':
- changed-files:
- any-glob-to-any-file: packages/commerce/**

'pkg: onchain':
- changed-files:
- any-glob-to-any-file: packages/onchain/**

'pkg: paymaster':
- changed-files:
- any-glob-to-any-file: packages/paymaster/**

'pkg: utils':
- changed-files:
- any-glob-to-any-file: packages/utils/**
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"

on:
pull_request:
- main

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

0 comments on commit 0e1b097

Please sign in to comment.