-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (26 loc) · 839 Bytes
/
test.yaml
File metadata and controls
27 lines (26 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Setting up Github Actions
on:
pull_request:
branches:
- main
- master
- stagging
types:
- closed
jobs:
generate-changelog:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- uses: 1swaraj/auto-generate-changelog@master
env:
PR_NUMBER: ${{ github.event.number }}
TITLE: ${{ github.event.pull_request.title }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_USERNAME: Community Updates Ropsten
DISCORD_AVATAR: https://pbs.twimg.com/profile_images/1315664565917581312/9da1QkqP.png
TO: ${{ secrets.TELEGRAM_TO }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
with:
REPO_NAME: ${{ github.repository }}
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}