duplicate duration type/field Oral ER #39
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: Validate changes | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
check-drug-updates: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '21' # Use whatever node version your project requires | |
- name: Install Dependencies | |
run: npm install | |
- name: Run validation script | |
run: npx ts-node ./scripts/combosToDrugs.ts --github-check | |
env: | |
CI: true | |
- name: Assign Pull Request | |
uses: actions/github-script@v5 | |
with: | |
script: | | |
github.rest.issues.addAssignees({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
assignees: ['LunaUrsa'] | |
}) |