NPM release: Request review of pre-release PR #131
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: "NPM release: Request review of pre-release PR" | |
on: | |
schedule: | |
- cron: '0 5 * * 4' | |
workflow_dispatch: | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest version of release script | |
uses: actions/checkout@v4 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Request review of pre-release PR | |
run: node src/request-pr-review.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |