From e0791dcce4fb7f8bcf72f8c36dca0fe48e190f1c Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Thu, 23 Nov 2023 22:40:57 -0500 Subject: [PATCH] ci: update release notifier (#331) --- .github/workflows/automerge.yml | 2 +- .github/workflows/codeql.yml | 4 ++-- .github/workflows/issues.yml | 2 +- .github/workflows/release-notifier.yml | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 49ddebf4e..733b4de85 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -31,7 +31,7 @@ jobs: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Label autoapproved - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GH_BOT_TOKEN }} script: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 95349bbc4..358ff9c99 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -28,7 +28,7 @@ jobs: continue: ${{ steps.continue.outputs.result }} steps: - name: Get repo languages - uses: actions/github-script@v6 + uses: actions/github-script@v7 id: lang with: script: | @@ -70,7 +70,7 @@ jobs: return matrix - name: Continue - uses: actions/github-script@v6 + uses: actions/github-script@v7 id: continue with: script: | diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index d7a1025cd..aec6006c8 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -20,6 +20,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Label Actions - uses: dessant/label-actions@v3 + uses: dessant/label-actions@v4 with: github-token: ${{ secrets.GH_BOT_TOKEN }} diff --git a/.github/workflows/release-notifier.yml b/.github/workflows/release-notifier.yml index 5161fc5f5..2827224b8 100644 --- a/.github/workflows/release-notifier.yml +++ b/.github/workflows/release-notifier.yml @@ -15,7 +15,7 @@ on: jobs: discord: if: >- - (github.repository, 'LizardByte/') and + startsWith(github.repository, 'LizardByte/') and not(github.event.release.prerelease) and not(github.event.release.draft) runs-on: ubuntu-latest @@ -34,7 +34,7 @@ jobs: facebook_group: if: >- - (github.repository, 'LizardByte/') and + startsWith(github.repository, 'LizardByte/') and not(github.event.release.prerelease) and not(github.event.release.draft) runs-on: ubuntu-latest @@ -51,7 +51,7 @@ jobs: facebook_page: if: >- - (github.repository, 'LizardByte/') and + startsWith(github.repository, 'LizardByte/') and not(github.event.release.prerelease) and not(github.event.release.draft) runs-on: ubuntu-latest @@ -68,7 +68,7 @@ jobs: reddit: if: >- - (github.repository, 'LizardByte/') and + startsWith(github.repository, 'LizardByte/') and not(github.event.release.prerelease) and not(github.event.release.draft) runs-on: ubuntu-latest @@ -88,7 +88,7 @@ jobs: twitter: if: >- - (github.repository, 'LizardByte/') and + startsWith(github.repository, 'LizardByte/') and not(github.event.release.prerelease) and not(github.event.release.draft) runs-on: ubuntu-latest