forked from ioBroker/ioBroker.repositories
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 909 Bytes
/
check.yml
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
28
29
30
31
32
33
name: Check changed adapters
#
# WARNING:
# ** Do NOT run untrusted code when using pull_request_target **
# pull_request_target is needed as pull_request does not provide secrets and so no
# commenting of PR is possible.
#
on:
pull_request_target:
types: [opened, edited, ready_for_review, reopened]
issue_comment:
types: [created]
# concurrent runs are required if more then one PR get commented with RE-CHECK! at same time
# concurrency:
# group: check-${{ github.head_ref }}
# cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm i
- run: npm run check
env:
OWN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF: ${{ env.GITHUB_REF }}
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}