Skip to content

Update pull-open.yml #3

Update pull-open.yml

Update pull-open.yml #3

Workflow file for this run

name: Pull Request Open
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
jobs:
PR-Open:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install dependencies
run: npm install
- name: Main work
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Analyze Pull Request
run: node .github/scripts/pr-analyzer.js
env:
PR_NUMBER: ${{ github.event.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}