Fishing Hole #1622
Workflow file for this run
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: 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 }} | |