From eee5674f6d3e5a0b2f7257a609fd3af3904c7b01 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 1 Feb 2021 15:04:13 +0100 Subject: [PATCH] CI: remove if-expression, it triggers a syntax error - unclear why this wasn't evaluated in expression context before --- .github/workflows/ci-neon.yml | 4 ++-- .github/workflows/issues.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-neon.yml b/.github/workflows/ci-neon.yml index 0cb51e01a..32399d20c 100644 --- a/.github/workflows/ci-neon.yml +++ b/.github/workflows/ci-neon.yml @@ -26,7 +26,7 @@ jobs: container: image: docker://kdeneon/plasma:user options: --tmpfs /build:rw --user 0:0 - if: github.repository == "calamares/calamares" + if: ${{ github.repository == "calamares/calamares" }} steps: - name: "prepare env" run: | @@ -94,5 +94,5 @@ jobs: channel: "#calamares" nickname: gh-notify 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 --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 87ba94d70..1d039795c 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -7,7 +7,6 @@ on: jobs: irc: runs-on: ubuntu-latest - if: github.repository == "calamares/calamares" steps: - name: "notify: new" uses: rectalogic/notify-irc@v1