diff --git a/.github/workflows/mergify-copy-labels.yaml b/.github/workflows/mergify-copy-labels.yaml index e47422fc3..3323b438c 100644 --- a/.github/workflows/mergify-copy-labels.yaml +++ b/.github/workflows/mergify-copy-labels.yaml @@ -15,3 +15,4 @@ jobs: uses: Mergifyio/gha-mergify-merge-queue-labels-copier@main with: additional-labels: 'ok-to-test' + token: ${{ secrets.CEPH_CSI_BOT_TOKEN }} diff --git a/.github/workflows/pull-request-commentor.yaml b/.github/workflows/pull-request-commentor.yaml index 2e87772db..8d90d3a53 100644 --- a/.github/workflows/pull-request-commentor.yaml +++ b/.github/workflows/pull-request-commentor.yaml @@ -8,14 +8,11 @@ on: - "release-v*" types: - labeled - - opened jobs: add-comment: if: > (github.event.label.name == 'ok-to-test' && - github.event.pull_request.merged != true) || - (github.event.pull_request.action == 'opened' && - contains(github.event.pull_request.labels.*.name,'ok-to-test')) + github.event.pull_request.merged != true) runs-on: ubuntu-latest permissions: pull-requests: write