Skip to content

.github/workflows/pr_notifier.yml #436

.github/workflows/pr_notifier.yml

.github/workflows/pr_notifier.yml #436

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: '0 5 * * 1,2,3,4,5'
jobs:
pr_notifier:
name: PR Notifier
runs-on: ubuntu-latest
if: github.repository == 'envoyproxy/envoy'
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- name: Set up Python 3.8
uses: actions/setup-python@d09bd5e6005b175076f227b13d9730d56e9dcfcb
with:
python-version: '3.8'
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./.github/actions/pr_notifier/requirements.txt
- name: Notify about PRs
run: python ./.github/actions/pr_notifier/pr_notifier.py --cron_job
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}