From 67fd361d99cc7edce94f87d44ccde71f1adf77bf Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Fri, 24 May 2024 02:41:38 +0000 Subject: [PATCH] chore: update global workflows --- .github/workflows/release-notifier.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-notifier.yml b/.github/workflows/release-notifier.yml index 5735465..6060839 100644 --- a/.github/workflows/release-notifier.yml +++ b/.github/workflows/release-notifier.yml @@ -9,15 +9,15 @@ name: Release Notifications on: release: - types: [published] - # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onevent_nametypes + types: + - released # this triggers when a release is published, but does not include prereleases or drafts jobs: discord: if: >- startsWith(github.repository, 'LizardByte/') && - not(github.event.release.prerelease) && - not(github.event.release.draft) + !github.event.release.prerelease && + !github.event.release.draft runs-on: ubuntu-latest steps: - name: discord @@ -35,8 +35,8 @@ jobs: facebook_group: if: >- startsWith(github.repository, 'LizardByte/') && - not(github.event.release.prerelease) && - not(github.event.release.draft) + !github.event.release.prerelease && + !github.event.release.draft runs-on: ubuntu-latest steps: - name: facebook-post-action @@ -52,8 +52,8 @@ jobs: facebook_page: if: >- startsWith(github.repository, 'LizardByte/') && - not(github.event.release.prerelease) && - not(github.event.release.draft) + !github.event.release.prerelease && + !github.event.release.draft runs-on: ubuntu-latest steps: - name: facebook-post-action @@ -69,8 +69,8 @@ jobs: reddit: if: >- startsWith(github.repository, 'LizardByte/') && - not(github.event.release.prerelease) && - not(github.event.release.draft) + !github.event.release.prerelease && + !github.event.release.draft runs-on: ubuntu-latest steps: - name: reddit @@ -89,8 +89,8 @@ jobs: twitter: if: >- startsWith(github.repository, 'LizardByte/') && - not(github.event.release.prerelease) && - not(github.event.release.draft) + !github.event.release.prerelease && + !github.event.release.draft runs-on: ubuntu-latest steps: - name: twitter