diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a219563a..44d27367b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -96,6 +96,7 @@ jobs: name: ๐Ÿงช E2E tests needs: build runs-on: ubuntu-latest + continue-on-error: true steps: - name: โฌ‡ Checkout code uses: actions/checkout@v2 @@ -141,7 +142,7 @@ jobs: publish-on-testpypi: name: ๐Ÿ“ฆ Publish on TestPyPI - if: github.event_name == 'release' + if: github.event_name == 'release' && github.repository == 'OctoPrint/OctoPrint' needs: - pre-commit - test-unit @@ -163,7 +164,7 @@ jobs: publish-on-pypi: name: ๐Ÿ“ฆ Publish tagged releases to PyPI - if: github.event_name == 'release' + if: github.event_name == 'release' && github.repository == 'OctoPrint/OctoPrint' needs: publish-on-testpypi runs-on: ubuntu-latest steps: @@ -179,7 +180,7 @@ jobs: notify-custopizer-build: name: ๐Ÿ“ง Notify OctoPi-UpToDate - if: github.event_name == 'release' + if: github.event_name == 'release' && github.repository == 'OctoPrint/OctoPrint' needs: publish-on-pypi runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 37e64bc49..76d7b2e23 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -31,12 +31,14 @@ jobs: run: | pip install . - name: ๐Ÿ“ง Discord success notification + continue-on-error: true env: DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} uses: Ilshidur/action-discord@master with: args: "โ˜‘๏ธ Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` was successful" - name: ๐Ÿ“ง Discord failure notification + continue-on-error: true if: failure() env: DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} @@ -65,12 +67,14 @@ jobs: run: | pip install https://github.com/OctoPrint/OctoPrint/archive/${{ steps.latest.outputs.release }}.zip - name: ๐Ÿ“ง Discord success notification + continue-on-error: true env: DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} uses: Ilshidur/action-discord@master with: args: "โ˜‘๏ธ Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ steps.latest.outputs.release }}` was successful" - name: ๐Ÿ“ง Discord failure notification + continue-on-error: true if: failure() env: DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}