Skip to content

Commit

Permalink
Discord annoucement: push only when label "Needs review" is set
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Aug 13, 2024
1 parent cecf6a8 commit 35c0b36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr-announce.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: "Announce on Discord"
on:
pull_request:
types: [ opened ]
types: [ opened, reopened, labeled, review_requested ]
branches: [ main ]

jobs:
build:
name: "Announce PR on Discord"
name: "Announce 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
Expand Down

0 comments on commit 35c0b36

Please sign in to comment.