-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8758987
commit 6259a7c
Showing
5 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Problem/Feature/Solution | ||
|
||
<!-- | ||
Describe your problem or feature request clearly. | ||
Attach any ref external, page links, source code links | ||
--> | ||
|
||
## Priority/Severity | ||
|
||
- [ ] Urgent | ||
- [ ] Priority but not that urgent | ||
- [ ] Can be taken as per free bandwidth | ||
|
||
## Merge Type | ||
|
||
- [ ] Rebase and Merge | ||
- [x] Squash and Merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Description | ||
|
||
_Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change._ | ||
|
||
Links : | ||
|
||
No Link(s) added. | ||
|
||
## Checklist | ||
|
||
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process. | ||
|
||
- [x] Updated/added relevant documentation (doc comments with `///`). | ||
- [x] All existing and new tests are passing. | ||
- [x] Added relevant reviewers. | ||
|
||
## Breaking Change | ||
|
||
- [x] No, no existing tests failed. | ||
- [ ] Yes, this is a breaking change. | ||
|
||
## Merge Type | ||
|
||
- [ ] Rebase and Merge | ||
- [x] Squash and Merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Build and Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
build: | ||
name: Create a new release | ||
runs-on: self-hosted | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Create release | ||
uses: actions/create-release@v1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: 'Notify on telegram/discord for pull request' | ||
on: | ||
pull_request: | ||
types: ['opened', 'reopened', 'synchronize', 'edited'] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: self-hosted | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: TheTechNexus/pull_request_action@main | ||
with: | ||
owner: ${{ github.repository_owner }} | ||
repo: ${{ github.event.repository.name }} | ||
pull_number: ${{ github.event.number }} | ||
github_api_key: ${{ secrets.CUSTOM_GITHUB_API_TOKEN }} | ||
telegram_bot_token: ${{ secrets.iris_telegram_token }} | ||
telegram_chat_id: -1001945935593 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# At 9:30 AM and 6:30 PM | ||
name: 'Notify On Telegram About Open Pull Requests' | ||
on: | ||
schedule: | ||
- cron: '0 4 * * *' # 9:30 AM | ||
- cron: '0 13 * * *' # 6:30 PM | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: self-hosted | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: TheTechNexus/[email protected] | ||
with: | ||
owner: ${{ github.repository_owner }} | ||
repo: ${{ github.event.repository.name }} | ||
github_api_key: ${{ secrets.CUSTOM_GITHUB_API_TOKEN }} | ||
telegram_bot_token: ${{ secrets.iris_telegram_token }} | ||
telegram_chat_id: -1001945935593 |