Skip to content

Commit ca1aa0d

Browse files
committed
Add an Actions workflow to update releases using chandler
1 parent 0451df7 commit ca1aa0d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/update-releases.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Update releases
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
chandler:
8+
environment: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v1
13+
- name: Set up Ruby 2.7
14+
uses: actions/setup-ruby@v1
15+
with:
16+
ruby-version: 2.7
17+
- name: Install chandler gem
18+
run: gem install chandler
19+
- name: Update releases messages
20+
run: chandler push --github="$GITHUB_REPOSITORY" --changelog="CHANGELOG.md"
21+
env:
22+
CHANDLER_GITHUB_API_TOKEN: ${{ secrets.CHANDLER_GITHUB_API_TOKEN }}

0 commit comments

Comments
 (0)