chore: update global workflows (#3813)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
LizardByte-bot
2025-04-25 19:09:06 -04:00
committed by GitHub
parent 65b0217a90
commit 1df4c89026
24 changed files with 256 additions and 177 deletions

View File

@@ -1,11 +1,13 @@
---
# This action is centrally managed in https://github.com/<organization>/.github/
# This workflow is centrally managed in https://github.com/<organization>/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.
# Create a blog post for a new release and open a PR to the blog repo
name: Release Notifications
permissions:
contents: read
on:
release:
@@ -14,8 +16,8 @@ on:
jobs:
update-blog:
if: >-
github.repository_owner == 'LizardByte'
name: Update blog
if: github.repository_owner == 'LizardByte'
runs-on: ubuntu-latest
steps:
- name: Check topics
@@ -41,8 +43,7 @@ jobs:
- name: Check if latest GitHub release
id: check-release
if: >-
steps.check-label.outputs.hasTopic == 'true'
if: steps.check-label.outputs.hasTopic == 'true'
uses: actions/github-script@v7
with:
script: |
@@ -128,9 +129,7 @@ jobs:
steps.check-label.outputs.hasTopic == 'true' &&
steps.check-release.outputs.isLatestRelease == 'true'
run: |
gh \
pr \
merge \
gh pr merge \
--auto \
--delete-branch \
--repo "LizardByte/LizardByte.github.io" \