File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 "email" : " andreash87@gmx.ch" ,
77 "github" : " aherrmann" ,
88 "github_user_id" : 732652
9+ },
10+ {
11+ "name" : " Corentin Kerisit" ,
12+ "email" : " corentin.kerisit@gmail.com" ,
13+ "github" : " cerisier" ,
14+ "github_user_id" : 1126594
915 }
1016 ],
1117 "repository" : [" github:hermeticbuild/rules_zig" ],
Original file line number Diff line number Diff line change 77 push :
88 tags :
99 - " v*.*.*"
10+ workflow_dispatch :
11+ inputs :
12+ tag :
13+ description : " Tag to release (e.g. v1.2.3). Must already exist."
14+ type : string
15+ required : true
1016
1117permissions :
18+ attestations : write
1219 contents : write
20+ id-token : write
1321
1422jobs :
1523 tests :
@@ -19,19 +27,21 @@ jobs:
1927
2028 release :
2129 needs : [tests]
22- runs-on : ubuntu-latest
23- steps :
24- - name : Checkout
25- uses : actions/checkout@v6
26- - name : Prepare release notes and artifacts
27- run : .github/scripts/release_prep.sh > release_notes.txt
28- - name : Release
29- uses : softprops/action-gh-release@v3
30- with :
31- draft : true
32- prerelease : true
33- # Use GH feature to populate the changelog automatically
34- generate_release_notes : true
35- body_path : release_notes.txt
36- fail_on_unmatched_files : true
37- files : rules_zig-*.tar.gz
30+ uses : bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.4.0
31+ with :
32+ release_files : rules_zig-*.tar.gz
33+ prerelease : ${{ contains(inputs.tag || github.ref_name, '-') }}
34+ tag_name : ${{ inputs.tag || github.ref_name }}
35+
36+ publish-to-bcr :
37+ needs : [release]
38+ uses : bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.2.0
39+ with :
40+ tag_name : ${{ inputs.tag || github.ref_name }}
41+ registry_fork : hermeticbuild/bazel-central-registry
42+ permissions :
43+ attestations : write
44+ contents : write
45+ id-token : write
46+ secrets :
47+ publish_token : ${{ secrets.BCR_PUBLISH_TOKEN }}
File renamed without changes.
Original file line number Diff line number Diff line change 3636 - id : renovate-config-validator
3737 # Check validity of GitHub actions configuration
3838 - repo : https://github.com/mpalmer/action-validator
39- rev : v0.6 .0
39+ rev : v0.9 .0
4040 hooks :
4141 - id : action-validator
You can’t perform that action at this time.
0 commit comments