Skip to content

Commit

Permalink
Merge pull request #14 from cbrgm/update
Browse files Browse the repository at this point in the history
deps: update deps, update project files
  • Loading branch information
cbrgm authored Dec 13, 2023
2 parents 36f0f40 + a4be68f commit a45d5ee
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@ jobs:
with:
generate_release_notes: true
files: "dist/*"
token: ${{ secrets.BOT_PAT_TOKEN }}

- name: Update version
uses: nowactions/update-majorver@v1
if: startsWith(github.ref, 'refs/tags/v')

...
24 changes: 24 additions & 0 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: release-notification

on:
release:
types: [published]

jobs:
notify-on-release:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification on New Release
uses: cbrgm/telegram-github-action@v1
with:
token: ${{ secrets.TELEGRAM_TOKEN }}
to: ${{ secrets.TELEGRAM_CHAT_ID }}
message: |
🚀 New Release Published!
Release Name: ${{ github.event.release.name }}
Tag: ${{ github.event.release.tag_name }}
Actor: ${{ github.actor }}
Repository: ${{ github.repository }}
Check it out: ${{ github.event.release.html_url }}

0 comments on commit a45d5ee

Please sign in to comment.