CI: run CI everywhere, but notify us only when building the upstream version

This commit is contained in:
Adriaan de Groot 2021-02-01 23:14:06 +01:00
parent 7a0e91f076
commit a34ca69d52

View File

@ -26,7 +26,6 @@ jobs:
container:
image: docker://kdeneon/plasma:user
options: --tmpfs /build:rw --user 0:0
if: github.repository == 'calamares/calamares'
steps:
- name: "prepare env"
run: |
@ -80,13 +79,13 @@ jobs:
run: make install VERBOSE=1
- name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() }}
if: ${{ success() && github.repository == 'calamares/calamares' }}
with:
channel: "#calamares"
message: "${{ github.workflow }} OK ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() }}
if: ${{ failure() && github.repository == 'calamares/calamares' }}
with:
channel: "#calamares"
message: |