Skip to content

Commit

Permalink
create two pr-label-manager's
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Jul 4, 2023
1 parent 6496511 commit e5d5cae
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 29 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pr-label-manager--on-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Label Manager (on Label)
on:
pull_request:
types:
- labeled
- unlabeled
push:
paths:
- '.github/workflows/pr-label*.yaml'

jobs:
check_labels:
needs: [pr_labeler]
uses: ./.github/workflows/pr-label-checker.yaml
18 changes: 18 additions & 0 deletions .github/workflows/pr-label-manager--on-open.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR Label Manager (on Open)
on:
pull_request:
types:
- opened
- reopened # for testing
push:
paths:
- '.github/workflows/pr-label*.yaml'

jobs:
pr_labeler:
uses: ./.github/workflows/pr-labeler.yaml

check_labels:
name: Check Labels
needs: [pr_labeler]
uses: ./.github/workflows/pr-label-checker.yaml
29 changes: 0 additions & 29 deletions .github/workflows/pr-label-manager.yaml

This file was deleted.

0 comments on commit e5d5cae

Please sign in to comment.