Skip to content

Commit f50be3a

Browse files
ci: add release notifier workflow
1 parent d98966e commit f50be3a

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
# This workflow is centrally managed in https://github.com/LizardByte/.github/
3+
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
4+
# the above-mentioned repo.
5+
6+
# Create a blog post for a new release and open a PR to the blog repo
7+
8+
name: Release Notifications
9+
permissions: {}
10+
11+
on:
12+
release:
13+
types:
14+
- released # this triggers when a release is published, but does not include pre-releases or drafts
15+
16+
jobs:
17+
update-blog:
18+
name: Update blog
19+
uses: LizardByte/.github/.github/workflows/__call-release-notifier.yml@master
20+
if: github.repository_owner == 'LizardByte'
21+
permissions:
22+
contents: read
23+
with:
24+
gh_name: ${{ vars.GH_BOT_NAME }}
25+
secrets:
26+
GH_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
27+
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<div align="center">
1212
<a href="https://github.com/LizardByte/libvirtualhid"><img src="https://img.shields.io/github/stars/lizardbyte/libvirtualhid.svg?logo=github&style=for-the-badge" alt="GitHub stars"></a>
13+
<a href="https://github.com/LizardByte/libvirtualhid/releases/latest"><img src="https://img.shields.io/github/downloads/lizardbyte/libvirtualhid/total.svg?style=for-the-badge&logo=github" alt="GitHub Releases"></a>
1314
<a href="https://github.com/LizardByte/libvirtualhid/actions/workflows/ci.yml?query=branch%3Amaster"><img src="https://img.shields.io/github/actions/workflow/status/lizardbyte/libvirtualhid/ci.yml.svg?branch=master&label=CI%20build&logo=github&style=for-the-badge" alt="GitHub Workflow Status (CI)"></a>
1415
<a href="https://codecov.io/gh/LizardByte/libvirtualhid"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fapp.lizardbyte.dev%2Fdashboard%2Fshields%2Fcodecov%2Flibvirtualhid.json&style=for-the-badge&logo=codecov" alt="Codecov"></a>
1516
<a href="https://sonarcloud.io/project/overview?id=LizardByte_libvirtualhid"><img src="https://img.shields.io/sonar/quality_gate/LizardByte_libvirtualhid.svg?server=https%3A%2F%2Fsonarcloud.io&style=for-the-badge&logo=sonarqubecloud&label=sonarcloud" alt="SonarCloud"></a>

0 commit comments

Comments
 (0)