mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
40888f01b6
The mergify label copier used github-actions bot to add labels. Actions performed by github-actions bot do not trigger a workflow and hence pull-request-commentor was not working as expected. This commit modifies mergify label copier to use Cephcsi-bot to copy labels which then will be able to trigger action to add pr comments. Signed-off-by: Rakshith R <rar@redhat.com>
19 lines
454 B
YAML
19 lines
454 B
YAML
---
|
|
# yamllint disable rule:line-length
|
|
name: Mergify merge-queue labels copier
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
|
|
jobs:
|
|
mergify-merge-queue-labels-copier:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Copying labels
|
|
uses: Mergifyio/gha-mergify-merge-queue-labels-copier@main
|
|
with:
|
|
additional-labels: 'ok-to-test'
|
|
token: ${{ secrets.CEPH_CSI_BOT_TOKEN }}
|