We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05be5b3 commit 03f89e6Copy full SHA for 03f89e6
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,35 @@
1
+name: Release Gem
2
+
3
+on:
4
+ workflow_run:
5
+ workflows: ["CI"]
6
+ types:
7
+ - completed
8
+ branches:
9
+ - main
10
11
+permissions:
12
+ contents: read
13
14
+jobs:
15
+ push:
16
+ if: |
17
+ github.event.workflow_run.conclusion == 'success' &&
18
+ github.repository == 'rubyatscale/chatwerk' &&
19
+ startsWith(github.ref, 'refs/tags/v')
20
+ runs-on: ubuntu-latest
21
+ environment: release
22
+ permissions:
23
+ contents: write
24
+ id-token: write
25
26
+ steps:
27
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
+ - name: Set up Ruby
29
+ uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
30
+ with:
31
+ bundler-cache: true
32
+ ruby-version: ruby
33
34
+ # Release
35
+ - uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1
0 commit comments