📡 Monitor Jenkins Test CI #13983
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: "📡 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/[email protected] | |
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 }}' |