-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.24 KB
/
watcher.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
34
35
36
37
38
39
40
---
name: watcher
on:
workflow_dispatch:
jobs:
watcher_exec:
runs-on: ubuntu-latest
strategy:
matrix:
org:
- mydevsandbox-com
include:
- org: mydevsandbox-com
GHWATCHER_APP_ID: GHWATCHER_APP_ID_2
GHWATCHER_APP_PEM: GHWATCHER_APP_PEM_2
GHWATCHER_APP_INSTALLATION_ID: GHWATCHER_APP_INSTALLATION_ID_2
env:
GHWATCHER_APP_ID: ${{ secrets[matrix.GHWATCHER_APP_ID] }}
GHWATCHER_APP_PEM: ${{ secrets[matrix.GHWATCHER_APP_PEM] }}
GHWATCHER_APP_INSTALLATION_ID: ${{ secrets[matrix.GHWATCHER_APP_INSTALLATION_ID] }}
GHWATCHER_CHECK_ORG: ${{ matrix.org }}
GHWATCHER_ENFORCE_PRIVATE: false
GHWATCHER_REPO_SKIP_LIST: github-watcher-admin
GHWATCHER_ALLOWED_ORG_LIST: ${{ matrix.org }}
GHWATCHER_ENABLE_DEPENDABOT: true
GHWATCHER_BASEURL: https://api.github.com
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm setup
run: npm install
- name: ${{ matrix.org }} - exec watcher
run: npx node github-action.js
- name: Summary
run: cat ${{ matrix.org }}.md >> $GITHUB_STEP_SUMMARY