Commit b57aafd5
b57aafd5ea70Merged
Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 3 files ยท ~2 modified ยท -1 deleted
Description
feat: announce in telegram via goreleaser
Details
- Commit
- b57aafd5ea70
- Parent
- 3e3624c18b06
.github/workflows/goreleaser.ymlmodifiedView file
@@ -67,6 +67,7 @@
6767
if: always()6868
permissions:6969
contents: write # releases are in `contents`70+
issues: write # for closing milestones7071
packages: write7172
needs:7273
- get-tag@@ -109,8 +110,10 @@
109110
env:110111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}111112
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.CR_PAT }}113+
TELEGRAM_CHAT_ID: ${{ secrets.CHAT }}114+
TELEGRAM_TOKEN: ${{ secrets.BOT_TOKEN }}112115
113-
trigger-notify:116+
docs:114117
runs-on: ubuntu-latest115118
if: always()116119
permissions:@@ -126,9 +129,9 @@
126129
script: |127130
await github.rest.actions.createWorkflowDispatch({128131
owner: context.repo.owner,129-
repo: context.repo.repo,130-
workflow_id: "notify.yml",131-
ref: process.env.GITHUB_TAG,132+
repo: "docs",133+
workflow_id: "generate-new-version.yml",134+
ref: "main",132135
inputs: {133136
tag: process.env.GITHUB_TAG,134137
},.github/workflows/notify.ymldeleted
Loading diffโฆ
.goreleaser.ymlmodifiedView file
Loading diffโฆ