blob: 0d79d26abfd292bc13b42b10604ee135b7f4ad9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
name: Check PR Dependencies
# TODO: Run when other pr gets merged
on:
pull_request_target:
types: [ opened, edited ]
jobs:
check-dependencies:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install @octokit/rest node-fetch
- name: Run dependency check script
run: node .github/scripts/checkDependencies.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_CONTEXT: ${{ toJson(github) }}
|