ci: Only skip the Discord notification in forks, not the entire Dockerfile test

This commit is contained in:
TÖRÖK Attila 2023-12-01 20:39:30 +01:00
parent 13efea13ee
commit 08a0ac459e
1 changed files with 1 additions and 3 deletions

View File

@ -13,8 +13,6 @@ jobs:
name: Test the Dockerfile
runs-on: ubuntu-22.04
if: github.repository == 'ruffle-rs/ruffle'
steps:
- uses: actions/checkout@v4
@ -37,7 +35,7 @@ jobs:
- name: Notify Discord
uses: th0th/notify-discord@v0.4.1
if: ${{ always() }}
if: ${{ always() && github.repository == 'ruffle-rs/ruffle' }}
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_UPDATES }}
GITHUB_ACTOR: ${{ github.actor }}