-
Notifications
You must be signed in to change notification settings - Fork 10
45 lines (41 loc) · 1.29 KB
/
test-ci.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
41
42
43
44
45
name: "📡 Monitor Jenkins Test CI"
on:
schedule:
# Run every hour
- cron: "23 * * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: none
issues: write
packages: none
jobs:
security-scoring:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Jenkins Alert and Reporting
uses: UlisesGascon/jenkins-status-alerts-and-reporting@v1.4.0
id: jenkins-status-alerts-and-reporting
with:
database: monitor/database.json
jenkins-domain: 'ci.nodejs.org'
jenkins-username: ${{ secrets.JENKINS_USERNAME }}
jenkins-token: ${{ secrets.JENKINS_TOKEN }}
# Issues
generate-issue: true
issue-assignees: 'UlisesGascon'
issue-labels: 'potential-incident,test-ci'
create-issues-for-new-offline-nodes: false
auto-close-issue: true
disk-alert-level: 90
# Report
report: monitor/jenkins-report.md
report-tags-enabled: false
# Git changes
auto-commit: true
auto-push: true
github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Print the Computers
# run: |
# echo '${{ steps.jenkins-status-alerts-and-reporting.outputs.computers }}'