Skip to content

Commit

Permalink
moved auto assigner and labeler to a separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Oct 30, 2024
1 parent b8a13cd commit 5978ca2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/add-metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Metadata

on:
pull_request:

permissions:
pull-requests: write
contents: write
checks: write

jobs:
assigner:
runs-on: ubuntu-latest
steps:
- name: Auto-assign
uses: toshimaru/[email protected]

labeler:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Labeler
uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yaml
19 changes: 0 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@ permissions:
checks: write

jobs:
assigner:
runs-on: ubuntu-latest
steps:
- name: Auto-assign
uses: toshimaru/[email protected]

labeler:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Labeler
uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yaml

pre-commit:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5978ca2

Please sign in to comment.