diff --git a/.github/workflows/async-auto-label.yml b/.github/workflows/async-auto-label.yml new file mode 100644 index 000000000..8ec0659ca --- /dev/null +++ b/.github/workflows/async-auto-label.yml @@ -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 diff --git a/.github/workflows/async-list-label.yml b/.github/workflows/async-list-label.yml new file mode 100644 index 000000000..97144b6b1 --- /dev/null +++ b/.github/workflows/async-list-label.yml @@ -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