Skip notification job if not set up
This commit is contained in:
parent
a6883aabe0
commit
4774505c8c
1 changed files with 2 additions and 1 deletions
3
.github/workflows/irc-notify.yml
vendored
3
.github/workflows/irc-notify.yml
vendored
|
@ -5,11 +5,12 @@ on:
|
|||
types: [ opened, closed, reopened ]
|
||||
issues:
|
||||
types: [ opened, closed, reopened ]
|
||||
create:
|
||||
# create: # creation also gets mentioned when pushing
|
||||
delete:
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
if: vars.IRC_CHANNEL != '' # skip if not set up (like in a fork for example)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Prepare message
|
||||
|
|
Loading…
Add table
Reference in a new issue