Skip to content

Commit

Permalink
Change to label triggering
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Aug 13, 2024
1 parent 13fa680 commit f3ed820
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-announce.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: "Announce on Discord"
on:
pull_request:
types: [ opened, reopened, labeled, review_requested ]
branches: [ main ]
label:
types: [ created ]
branches: [ on-label ]

jobs:
Announce:
permissions:
pull-requests: read

runs-on: ubuntu-latest
if: ${{ github.repository == 'armbian/build' && contains(github.event.pull_request.labels.*.name, 'Needs review') }}
if: ${{ github.repository == 'armbian/build' && github.event.label.label.id, '6210849975' }}
steps:
- name: Get repo
uses: actions/checkout@v4
Expand Down

0 comments on commit f3ed820

Please sign in to comment.