diff --git a/.github/workflows/_release-notifier.yml b/.github/workflows/_release-notifier.yml new file mode 100644 index 0000000..7a30fa1 --- /dev/null +++ b/.github/workflows/_release-notifier.yml @@ -0,0 +1,27 @@ +--- +# This workflow is centrally managed in https://github.com/LizardByte/.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: {} + +on: + release: + types: + - released # this triggers when a release is published, but does not include pre-releases or drafts + +jobs: + update-blog: + name: Update blog + uses: LizardByte/.github/.github/workflows/__call-release-notifier.yml@master + if: github.repository_owner == 'LizardByte' + permissions: + contents: read + with: + gh_name: ${{ vars.GH_BOT_NAME }} + secrets: + GH_EMAIL: ${{ secrets.GH_BOT_EMAIL }} + GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }} diff --git a/README.md b/README.md index d30d303..9a03f91 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@