File tree Expand file tree Collapse file tree 4 files changed +13
-10
lines changed
Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: 🚦Stoplight
33on :
44 pull_request :
55 push :
6- branches : [ master ]
6+ branches : [ main ]
77
88permissions : # added using https://github.com/step-security/secure-repo
99 contents : read
Original file line number Diff line number Diff line change 11name : Release 🚀
22on :
3- release :
4- types : [published ]
3+ push :
4+ branches : [ main ]
55
66env :
77 version : ${{ github.event.release.tag_name }}
88 docker_username : ${{ secrets.DOCKER_HUB_USERNAME }}
99 docker_password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
1010
11- permissions : # added using https://github.com/step-security/secure-repo
12- contents : read
13-
1411jobs :
1512 gem :
1613 name : Ruby Gem 📦
1714 runs-on : ubuntu-latest
18- environment : releases
15+ environment : release
16+ permissions :
17+ contents : read
18+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
19+ contents : write # IMPORTANT: this permission is required for `rake release` to push the release tag
1920 steps :
2021 - name : Harden the runner (Audit all outbound calls)
2122 uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
3839 name : Docker Image 🐳
3940 needs : [gem]
4041 runs-on : ubuntu-latest
41- environment : releases
42+ environment : release
43+ permissions :
44+ contents : read
4245 steps :
4346 - name : Harden the runner (Audit all outbound calls)
4447 uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- stoplight (5.3.1 )
4+ stoplight (5.3.2 )
55 zeitwerk
66
77GEM
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module Stoplight
4- VERSION = Gem ::Version . new ( "5.3.1 " )
4+ VERSION = Gem ::Version . new ( "5.3.2 " )
55end
You can’t perform that action at this time.
0 commit comments