File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Weekly Conference Sort Update
2+
3+ on :
4+ schedule :
5+ # Runs at 00:00 UTC on Friday
6+ # https://crontab.guru/#0_0_*_*_6
7+ - cron : ' 0 0 * * 6'
8+ # Optional: Allow manual triggering
9+ workflow_dispatch :
10+
11+
12+ jobs :
13+ update-links :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ pull-requests : write
18+
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Pixi
24+ uses :
prefix-dev/[email protected] 25+
26+ - name : Run links command
27+ run : pixi run sort
28+
29+ - name : Check for changes
30+ id : git-check
31+ run : |
32+ git diff --exit-code || echo "changes=true" >> $GITHUB_OUTPUT
33+
34+ - name : Create Pull Request
35+ if : steps.git-check.outputs.changes == 'true'
36+ uses : peter-evans/create-pull-request@v5
37+ with :
38+ commit-message : ' chore: sort conferences'
39+ title : ' chore: sort conferences'
40+ body : |
41+ Automated PR to update conference.
42+
43+ This PR was automatically generated by the Update workflow.
44+ branch : automated/sort-conferences
45+ delete-branch : true
You can’t perform that action at this time.
0 commit comments