Skip to content

Commit dca0b4f

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

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/update-releases.yml

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

0 commit comments

Comments
 (0)