Skip to content

Observe Issues and Pull Requests #2

Observe Issues and Pull Requests

Observe Issues and Pull Requests #2

name: Observe Issues and Pull Requests
on:
schedule:
- cron: "0 9 * * *"
jobs:
issue:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Update issues
run: pnpm observe:issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_HELP_WANTED_WEBHOOK_URL: ${{ secrets.DISCORD_HELP_WANTED_WEBHOOK_URL }}
pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Update pull requests
run: pnpm observe:pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_REVIEWS_WEBHOOK_URL: ${{ secrets.DISCORD_REVIEWS_WEBHOOK_URL }}
DISCORD_HELP_WANTED_WEBHOOK_URL: ${{ secrets.DISCORD_HELP_WANTED_WEBHOOK_URL }}