CI: try a different form of if()

This commit is contained in:
Adriaan de Groot 2021-02-01 16:28:20 +01:00
parent 1742c10f7d
commit f2bd956b89
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@ jobs:
container:
image: docker://kdeneon/plasma:user
options: --tmpfs /build:rw --user 0:0
if: ${{ github.repository == 'calamares/calamares' }}
steps:
- name: "prepare env"
run: |

View File

@ -10,7 +10,7 @@ jobs:
steps:
- name: "notify: new"
uses: rectalogic/notify-irc@v1
if: github.event.issue.state == "open"
if: github.event.issue.state == 'open'
with:
server: chat.freenode.net
channel: "#calamares"
@ -18,7 +18,7 @@ jobs:
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) opened by ${{ github.actor }}"
- name: "notify: closed"
uses: rectalogic/notify-irc@v1
if: github.event.issue.state != "open"
if: github.event.issue.state != 'open'
with:
server: chat.freenode.net
channel: "#calamares"