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 : cosign-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/cosign-releases-json.yml'
17+
18+ jobs :
19+ generate :
20+ uses : crazy-max/.github/.github/workflows/releases-json.yml@34fd436075cac6431d2036d5f6f1c3f3d4687ac5
21+ with :
22+ repository : sigstore/cosign
23+ artifact_name : cosign-releases-json
24+ filename : cosign-releases.json
25+ secrets : inherit
26+
27+ open-pr :
28+ runs-on : ubuntu-24.04
29+ if : github.event_name != 'pull_request'
30+ needs :
31+ - generate
32+ steps :
33+ -
34+ name : Checkout
35+ uses : actions/checkout@v5
36+ -
37+ name : Download
38+ uses : actions/download-artifact@v6
39+ with :
40+ name : cosign-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@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
49+ with :
50+ base : main
51+ branch : bot/cosign-releases-json
52+ commit-message : " github: update .github/cosign-releases.json"
53+ signoff : true
54+ delete-branch : true
55+ title : " Update `.github/cosign-releases.json`"
56+ body : |
57+ Update `.github/cosign-releases.json` to keep in sync with [https://github.com/sigstore/cosign](https://github.com/sigstore/cosign).
58+ draft : false
You can’t perform that action at this time.
0 commit comments