File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Releases
2+
3+ on :
4+ schedule :
5+ - cron : ' 59 13 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+ test :
10+ name : Update releases
11+ runs-on : ubuntu-latest
12+ permissions :
13+ # Give the default GITHUB_TOKEN write permission to commit and push the
14+ # added or changed files to the repository.
15+ contents : write
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-python@v5
19+ with :
20+ python-version : ' 3.12'
21+ - name : install dependencies
22+ run : python -m pip install -r requirements.txt
23+ - name : update releases
24+ run : python track_releases.py
25+ - name : update json
26+ run : python yaml2json.py
27+ - name : commit if necessary
28+ uses : stefanzweifel/git-auto-commit-action@v5
29+ with :
30+ file_pattern : simtools/*.yaml
31+ commit_message : Update yaml files from releases
32+ - name : commit if necessary
33+ uses : stefanzweifel/git-auto-commit-action@v5
34+ with :
35+ file_pattern : simtools/simtools.json
36+ commit_message : Update JSON from yaml files
You can’t perform that action at this time.
0 commit comments