File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Plotly Artifact
2+
3+ on :
4+ schedule :
5+ # Run once daily at 00:00 UTC
6+ - cron : ' 0 0 * * *'
7+ workflow_dispatch :
8+
9+ jobs :
10+ update-artifact :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : julia-actions/setup-julia@v1
15+ - run : julia deps/artifacts.jl
16+ - name : Check if Artifacts.toml changed
17+ id : check-changes
18+ run : |
19+ if git diff --quiet Artifacts.toml; then
20+ echo "changed=false" >> $GITHUB_OUTPUT
21+ else
22+ echo "changed=true" >> $GITHUB_OUTPUT
23+ fi
24+ - name : Create Pull Request
25+ if : steps.check-changes.outputs.changed == 'true'
26+ uses : peter-evans/create-pull-request@v5
27+ with :
28+ commit-message : ' chore: update Plotly artifact'
29+ title : ' chore: update Plotly artifact'
30+ body : ' Automated update of Plotly.js artifact'
31+ branch : update-plotly-artifact
You can’t perform that action at this time.
0 commit comments