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 ff86f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-announce.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ff86f56

Please sign in to comment.