Skip to content

Add files via upload #1623

Add files via upload

Add files via upload #1623

Workflow file for this run

name: Pull Request Open
on:
workflow_dispatch:
pull_request_target:
types:
- opened
- reopened
- edited
- ready_for_review
- synchronize
jobs:
PR-Open:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install project dependencies
run: |
npm init -y
npm install
npm install axios
npm install @octokit/rest
npm install midi-file
npm install @tonejs/midi
- name: Analyze Pull Request
run: node .github/scripts/pr-analyzer.js
env:
PR_NUMBER: ${{ github.event.number }}
GITHUB_REPOSITORY: ${{ github.repository }}
PAT_TOKEN: ${{ secrets.GITHUB_TOKEN }}