mirror of
https://github.com/rosven9856/gitea_creating_release_action.git
synced 2025-10-24 14:06:39 +08:00
create issue workflows
This commit is contained in:
parent
713f568016
commit
dbc255cba7
24
.github/workflows/issues.yml
vendored
Normal file
24
.github/workflows/issues.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, edited, reopened]
|
||||||
|
|
||||||
|
issue_comment:
|
||||||
|
types: [created, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
send_telegram_message:
|
||||||
|
name: send telegram message
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: send telegram message
|
||||||
|
uses: appleboy/telegram-action@master
|
||||||
|
with:
|
||||||
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
|
message: |
|
||||||
|
Author: ${{ github.actor }}
|
||||||
|
Repository: ${{ github.repository }}
|
||||||
|
Event: ${{github.event.name}}
|
||||||
|
Issue: ${{ github.event.issue.number }}
|
||||||
|
|
||||||
|
See changes: https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }}
|
||||||
Loading…
x
Reference in New Issue
Block a user