File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : undock-releases-json
2+
3+ concurrency :
4+ group : ${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
7+ on :
8+ workflow_dispatch :
9+ schedule :
10+ - cron : ' 0 */12 * * *'
11+ push :
12+ branches :
13+ - ' main'
14+ pull_request :
15+ paths :
16+ - ' .github/workflows/undock-releases-json.yml'
17+
18+ jobs :
19+ generate :
20+ uses : crazy-max/.github/.github/workflows/releases-json.yml@fa6141aedf23596fb8bdcceab9cce8dadaa31bd9
21+ with :
22+ repository : crazy-max/undock
23+ artifact_name : undock-releases-json
24+ filename : undock-releases.json
25+ secrets : inherit
26+
27+ open-pr :
28+ runs-on : ubuntu-22.04
29+ if : github.event_name != 'pull_request'
30+ needs :
31+ - generate
32+ steps :
33+ -
34+ name : Checkout
35+ uses : actions/checkout@v4
36+ -
37+ name : Download
38+ uses : actions/download-artifact@v4
39+ with :
40+ name : undock-releases-json
41+ path : .github
42+ -
43+ name : Commit changes
44+ run : |
45+ git add -A .
46+ -
47+ name : Create PR
48+ uses : peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
49+ with :
50+ base : main
51+ branch : bot/undock-releases-json
52+ commit-message : " github: update .github/undock-releases.json"
53+ signoff : true
54+ delete-branch : true
55+ title : " Update `.github/undock-releases.json`"
56+ body : |
57+ Update `.github/undock-releases.json` to keep in sync with [https://github.com/crazy-max/undock](https://github.com/crazy-max/undock).
58+ draft : false
You can’t perform that action at this time.
0 commit comments