Skip to content

Github Watcher

Github Watcher #13618

name: Github Watcher
concurrency:
group: ${{ github.workflow }}
on:
schedule:
- cron: "*/5 * * * *" # every 5 minutes
workflow_dispatch:
jobs:
run-github-watcher:
runs-on: ubuntu-20.04
permissions:
contents: read
steps:
- name: Checkout config file
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/github-watcher-config.yaml
sparse-checkout-cone-mode: false
- name: Run
uses: ovsds/github-watcher-action@v1
with:
config_path: .github/github-watcher-config.yaml
env_variables: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
TELEGRAM_TOKEN=${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_CHAT_ID=${{ secrets.TELEGRAM_CHAT_ID }}