Skip to content

Commit feaae83

Browse files
committed
Add action for trusted release
1 parent a8122a4 commit feaae83

File tree

2 files changed

+54
-18
lines changed

2 files changed

+54
-18
lines changed

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release gem
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
push:
13+
if: github.repository == 'svoop/rodbot'
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: write
18+
id-token: write
19+
20+
environment: release
21+
22+
steps:
23+
- name: Harden runner
24+
uses: step-security/[email protected]
25+
with:
26+
egress-policy: audit
27+
- uses: actions/checkout@v4
28+
with:
29+
persist-credentials: false
30+
- name: Set up Ruby
31+
uses: ruby/setup-ruby@v1
32+
with:
33+
bundler-cache: true
34+
ruby-version: ruby
35+
- uses: rubygems/release-gem@v1

CHANGELOG.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,100 +2,101 @@
22

33
### Changes
44
* Drop certs note in README
5+
* Add action for trusted release
56

67
## 0.5.2
78

8-
#### Fixes
9+
### Fixes
910
* Update Docker template for Ruby 3.4.2
1011

1112
## 0.5.1
1213

13-
#### Changes
14+
### Changes
1415
* Update Docker compose templates
1516

1617
## 0.5.0
1718

18-
#### Changes
19+
### Changes
1920
* Make GitLab and GitHub plugins customizable
2021

2122
## 0.4.5
2223

23-
#### Changes
24+
### Changes
2425
* Update Ruby to 3.4
2526

2627
## 0.4.4
2728

28-
#### Changes
29+
### Changes
2930
* Adhere to plugin file layout suggestions
3031
* Support Ruby 3.3
3132
* Honor `APP_ENV` as an alternative to `RODBOT_ENV`
3233

3334
## 0.4.3
3435

35-
#### Changes
36+
### Changes
3637
* Add more languages to the word of the day demo plugin
3738

3839
## 0.4.2
3940

40-
#### Fixes
41+
### Fixes
4142
* Pass the time zone down to Clockwork
4243

4344
## 0.4.1
4445

45-
#### Fixes
46+
### Fixes
4647
* Fix init of memoization cache
4748

4849
## 0.4.0
4950

50-
#### Breaking Changes
51+
### Breaking changes
5152
* Rename `timezone` config to `time_zone` and properly implement and document
5253
time zone handling
5354

5455
## 0.3.4
5556

56-
#### Additions
57+
### Additions
5758
* Support to post to secondary rooms with `Rodbot.say`
5859
* `Rodbot::Message` container class for messages with meta data
5960

6061
## 0.3.3
6162

62-
#### Additions
63+
### Additions
6364
* Support placeholders when using `Rodbot.say` and add `[[EVERYBODY]]`
6465
placeholder to mention all hands in a room or channel
6566

6667
## 0.3.2
6768

68-
#### Additions
69+
### Additions
6970
* Simple /healthz route e.g. for deployments on render.com
7071
* Deploy templates for render.com
7172

72-
#### Changes
73+
### Changes
7374
* Switch from httparty to httpx
7475

7576
## 0.3.1
7677

77-
#### Fixes
78+
### Fixes
7879
* Explicitly require Forwardable
7980

8081
## 0.3.0
8182

82-
#### Additions
83+
### Additions
8384
* Built-in plugin for Slack
8485

8586
## 0.2.0
8687

87-
#### Fixes
88+
### Fixes
8889
* Fix OTP verification
8990
* Drop futile files from packaged gem
9091

9192
## 0.1.1
9293

93-
#### Fixes
94+
### Fixes
9495
* Fix `rodbot new` by making `config/rodbot.rb` optional
9596

9697
## 0.1.0
9798

98-
#### Initial Implementation
99+
### Initial implementation
99100
* Rodbot CLI
100101
* App, relay and schedule services
101102
* Framework functionality such as config, credentials, logging, data

0 commit comments

Comments
 (0)