CI: remove if-expression, it triggers a syntax error

- unclear why this wasn't evaluated in expression context before
This commit is contained in:
Adriaan de Groot 2021-02-01 15:04:13 +01:00
parent 1da84ca09b
commit eee5674f6d
2 changed files with 2 additions and 3 deletions

View File

@ -26,7 +26,7 @@ jobs:
container: container:
image: docker://kdeneon/plasma:user image: docker://kdeneon/plasma:user
options: --tmpfs /build:rw --user 0:0 options: --tmpfs /build:rw --user 0:0
if: github.repository == "calamares/calamares" if: ${{ github.repository == "calamares/calamares" }}
steps: steps:
- name: "prepare env" - name: "prepare env"
run: | run: |
@ -94,5 +94,5 @@ jobs:
channel: "#calamares" channel: "#calamares"
nickname: gh-notify nickname: gh-notify
message: | message: |
CI FAIL for '${{ github.event.head_commit.message }}' CI FAIL for '${{ github.event.head_commit.message }}' in ${{ github.repository }}
.. DIFF ${{ github.event.compare }} .. DIFF ${{ github.event.compare }}

View File

@ -7,7 +7,6 @@ on:
jobs: jobs:
irc: irc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == "calamares/calamares"
steps: steps:
- name: "notify: new" - name: "notify: new"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1