Notify about approved but still open PRs #412
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
name: Notify about approved but still open PRs | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Once a day | |
workflow_dispatch: | |
jobs: | |
pr-approved-open: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: 'Send notification to Slack' | |
run: node ./.github/actions/pr-approved-open/index.mjs | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} |