Skip to content

osscameroon/global-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

246 Commits
 
 
 
 
 
 
 
 

Repository files navigation

global-github-actions

All github actions that we run for the entire github organisation

Github actions list

  • hermes_open_project_recommendation Daily post of an open-source project recommendation to the OssCameroon Telegram channel and Twitter timeline.
  • jobsika_social_media_message_scheduler Monthly cron that publishes a scheduled message to the Jobsika Twitter account using dedicated credentials.
  • notify_on_broken_link_detected Manually triggerable workflow that scans OssCameroon websites for broken links and reports any failures to Telegram.
  • notify_on_issue_open Reusable workflow that posts a Telegram message whenever a new issue is opened in a consuming repository.
  • notify_on_pull_request_open Reusable workflow that posts a Telegram message whenever a new pull request is opened in a consuming repository.
  • recommend_yotas_issues Sends the list of available yotas issues to the OssCameroon Telegram channel and group, helping newcomers find work.
  • report_a_quiz Posts programming quiz questions with options to the Telegram group every 10 hours (at least two per day).
  • report_contributions Runs monthly (or on manual dispatch) to post the contributions rate per developer in the organisation to the Telegram channel and group.
  • report_jokes Posts a daily programming joke, fetched from a free joke API, to the Telegram group.
  • report_jobs Posts job openings fetched from an open jobs API to the OssCameroon remote-jobs Telegram group every Monday.
  • report_news Posts daily tech news headlines to the Telegram channel, with deduplication via a hash file committed back to the repo.
  • report_number_of_yotas Posts the total count of yotas earned per developer in the organisation to the Telegram channel and group.
  • report_open_projects Posts the list of currently open OssCameroon projects to the Telegram channel and group.
  • report_opencollective Posts OpenCollective contributions and donor info to the Telegram channel and group.
  • report_quotes Posts a daily random programming quote, fetched from a small quote API, to the Telegram group.
  • social_media_message_scheduler Schedules messages from a YAML catalog and publishes them to Twitter and Telegram on Tuesday, Thursday and Saturday.
  • validate_message_scheduler_messages Pull-request validator that ensures the social_media_message_scheduler messages stay schema-compliant.

Send a message to the telegram channel whenever a new pull request is openened/created.

Usage

On your repository create a .github/workflows/notify_on_pull_request_open.yaml file. Then copy and paste in your newly created file the content bellow.

name: notify of pull_request creation
on:
  pull_request_target:
    types: [ opened ]
    branches:
      - main

jobs:
  notify:
    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 }}

You can use this file as reference

Alt

About

github actions that we run for the entire github organisation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors