Skip to content

Commit

Permalink
Add asyn-label workflows for PRs (#1489)
Browse files Browse the repository at this point in the history
* Add asyn-label workflows for PRs

---------

Co-authored-by: Benedikt Volkel <[email protected]>
  • Loading branch information
benedikt-voelkel and Benedikt Volkel authored Feb 23, 2024
1 parent c399748 commit 045895f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/async-auto-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Apply requested async label

'on':
issue_comment:
types:
- created
- edited

permissions:
pull-requests: write # to update labels

jobs:
apply_async_labels:
name: Apply requested async label
uses: alisw/ali-bot/.github/workflows/async-auto-label.yml@master
permissions:
pull-requests: write # to update labels
20 changes: 20 additions & 0 deletions .github/workflows/async-list-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Collect and print async labels

'on':
pull_request:
types:
- opened
- reopened
branches:
- master

permissions:
pull-requests: write # to update labels

jobs:
list_async_labels:
name: Collect and print async labels
uses: alisw/ali-bot/.github/workflows/async-list-label.yml@master
permissions:
pull-requests: write # to update labels

0 comments on commit 045895f

Please sign in to comment.