Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

fix(notify): Update Pull Request notifications #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions .github/workflows/notify_on_pull_request_open.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,7 @@ on:

jobs:
notify:
defaults:
run:
working-directory: ./.github/workflows/notify_on_pull_request_open

name: notify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: notify telegram when pull request is a created
shell: bash
run: |
./build_pull_request_notification.sh $GITHUB_EVENT_PATH > notify_on_pull_request_open_message
- name: send contribution report to osscameroon channel
uses: appleboy/[email protected]
with:
to: ${{ secrets.TELEGRAM_OSSCAMEROON_CHANNEL_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
message_file: ./.github/workflows/notify_on_pull_request_open/notify_on_pull_request_open_message
uses: osscameroon/global-github-actions/.github/workflows/notify_on_pull_request_open.yaml@main
secrets:
telegram_channel_id: ${{ secrets.TELEGRAM_OSSCAMEROON_CHANNEL_ID }}
telegram_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}

This file was deleted.

Loading