diff --git a/.github/workflows/ci-neon.yml b/.github/workflows/ci-neon.yml index c7bf22f77..0cb51e01a 100644 --- a/.github/workflows/ci-neon.yml +++ b/.github/workflows/ci-neon.yml @@ -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: | @@ -71,18 +72,12 @@ jobs: - name: "Calamares: cmake" working-directory: ${{ env.BUILDDIR }} run: cmake $CMAKE_ARGS $SRCDIR - - name: "dump context" - env: - JOBS_CONTEXT: ${{ toJSON(job) }} - STEPS_CONTEXT: ${{ toJSON(steps) }} - EVENT_CONTEXT: ${{ toJSON(github.event) }} - run: | - echo "STEPS" - echo "$STEPS_CONTEXT" - echo "JOB" - echo "$JOBS_CONTEXT" - echo "EVENT" - echo "$EVENT_CONTEXT" + - name: "Calamares: make" + working-directory: ${{ env.BUILDDIR }} + run: make -j2 VERBOSE=1 + - name: "Calamares: install" + working-directory: ${{ env.BUILDDIR }} + run: make install VERBOSE=1 - name: "notify: ok" uses: rectalogic/notify-irc@v1 if: ${{ success() }} @@ -90,7 +85,7 @@ jobs: server: chat.freenode.net channel: "#calamares" nickname: gh-notify - message: "CI OK for '${{ github.event.head_commit.message }}'" + message: "CI OK for '${{ github.event.head_commit.message }}' in ${{ github.repository }}" - name: "notify: fail" uses: rectalogic/notify-irc@v1 if: ${{ failure() }} @@ -101,13 +96,3 @@ jobs: message: | CI FAIL for '${{ github.event.head_commit.message }}' .. DIFF ${{ github.event.compare }} - -# Unused while we figure out notifications. -# - name: "Calamares: make" -# working-directory: ${{ env.BUILDDIR }} -# run: make -j2 VERBOSE=1 -# - name: "Calamares: install" -# working-directory: ${{ env.BUILDDIR }} -# run: | -# make install VERBOSE=1 -# diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 9ceb5315c..87ba94d70 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -7,6 +7,7 @@ on: jobs: irc: runs-on: ubuntu-latest + if: github.repository == "calamares/calamares" steps: - name: "notify: new" uses: rectalogic/notify-irc@v1 @@ -15,7 +16,7 @@ jobs: server: chat.freenode.net channel: "#calamares" nickname: gh-issues - message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) opened by ${{ github.actor }}" + 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" @@ -23,4 +24,4 @@ jobs: server: chat.freenode.net channel: "#calamares" nickname: gh-issues - message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) closed by ${{ github.actor }}" + message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) closed by ${{ github.actor }}"