update_monitoring_technical_references_dashboard #125
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: update_monitoring_technical_references_dashboard | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'tab_technical.md' | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run generation of the dashboard | |
run: | | |
cd ci; python monitoring_technical_references_generate_dashboard.py "${{ secrets.GITHUB_TOKEN }}" | |
- name: Set up Git user | |
run: git config --global user.email "[email protected]"; git config --global user.name "GHActionBot" | |
- name: Commit update | |
run: git commit -am "Sync monitoring technical references dashboard file"; git push | |