mirror of
https://github.com/rosven9856/gitea_creating_release_action.git
synced 2025-09-06 02:02:54 +08:00
update issue workflows
This commit is contained in:
parent
d3a312a678
commit
5e3fd4ac06
24
.gitea/workflows/issues.yml
Normal file
24
.gitea/workflows/issues.yml
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: |
|
||||
Gitea. Creating new issue
|
||||
|
||||
Author: ${{ gitea.actor }}
|
||||
Repository: ${{ gitea.repository }}
|
||||
|
||||
See changes: https://gitea.com/${{ gitea.repository }}/issues/${{ gitea.event.issue.number }}
|
4
.github/workflows/issues.yml
vendored
4
.github/workflows/issues.yml
vendored
@ -16,9 +16,9 @@ jobs:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
Github. Creating new issue
|
||||
|
||||
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