Skip to content

Commit

Permalink
Add back labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuan-chen committed May 17, 2024
1 parent daa29e8 commit 87cedca
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/label-requires-reviews.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
- label: 2-reviewers
reviews: 2
34 changes: 34 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
2-reviewers:
- '.github/**/*'
- 'l2geth/**/*'
- 'ops/**/*'
- 'packages/batch-submitter/**/*'
- 'packages/contracts/**/*'
- 'packages/data-transport-layer/**/*'
- 'packages/message-relayer/**/*'
- 'patches/**/*'

M-ci:
- any: ['.github/**/*']

M-l2geth:
- any: ['l2geth/**/*']

M-integration:
- any: ['integration-tests/**/*']

M-batch-submitter:
- any: ['packages/batch-submitter/**/*']

M-contracts:
- any: ['packages/contracts/**/*']

M-core-utils:
- any: ['packages/core-utils/**/*']

M-dtl:
- any: ['packages/data-transport-layer/**/*']

M-ops:
- any: ['ops/**/*']
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: golangci-lint gas-oracle
# uses: golangci/golangci-lint-action@v3
# with:
# version: v1.51.0
# working-directory: go/gas-oracle
- name: golangci-lint gas-oracle
uses: golangci/golangci-lint-action@v3
with:
version: v1.56.1
working-directory: go/gas-oracle
- name: golangci-lint batch-submitter
uses: golangci/golangci-lint-action@v3
with:
Expand Down
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_target

jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml

0 comments on commit 87cedca

Please sign in to comment.