diff --git a/.github/workflows/pr-announce.yml b/.github/workflows/pr-announce.yml index 94988e6d0bf5..6e310272b8d3 100644 --- a/.github/workflows/pr-announce.yml +++ b/.github/workflows/pr-announce.yml @@ -1,13 +1,13 @@ on: pull_request: - types: [ opened ] + types: [ opened, labeled, review_requested ] branches: [ main ] jobs: build: name: "Announce PR on Discord" runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'Armbian' }} + if: ${{ github.repository_owner == 'Armbian' && contains(github.event.pull_request.labels.*.name, 'Needs review') steps: - name: Get repo uses: actions/checkout@v4