From a7b19f48fe967608c5a74e8db743c962811568c1 Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Sat, 10 Dec 2022 10:45:09 -0500 Subject: [PATCH] ci: update release notifier (#534) --- .github/workflows/release-notifier.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-notifier.yml b/.github/workflows/release-notifier.yml index 7a2c13ea..bea36033 100644 --- a/.github/workflows/release-notifier.yml +++ b/.github/workflows/release-notifier.yml @@ -12,6 +12,7 @@ on: jobs: discord: + if: startsWith(github.repository, 'LizardByte/') runs-on: ubuntu-latest steps: - name: discord @@ -27,6 +28,7 @@ jobs: color: 0xFF4500 facebook_group: + if: startsWith(github.repository, 'LizardByte/') runs-on: ubuntu-latest steps: - name: facebook-post-action @@ -40,6 +42,7 @@ jobs: url: ${{ github.event.release.html_url }} facebook_page: + if: startsWith(github.repository, 'LizardByte/') runs-on: ubuntu-latest steps: - name: facebook-post-action @@ -53,10 +56,11 @@ jobs: url: ${{ github.event.release.html_url }} reddit: + if: startsWith(github.repository, 'LizardByte/') runs-on: ubuntu-latest steps: - name: reddit - uses: bluwy/release-for-reddit-action@v1 # https://github.com/bluwy/release-for-reddit-action + uses: bluwy/release-for-reddit-action@v2 # https://github.com/bluwy/release-for-reddit-action with: username: ${{ secrets.REDDIT_USERNAME }} password: ${{ secrets.REDDIT_PASSWORD }} @@ -69,6 +73,7 @@ jobs: comment: ${{ github.event.release.body }} twitter: + if: startsWith(github.repository, 'LizardByte/') runs-on: ubuntu-latest steps: - name: twitter