-
Notifications
You must be signed in to change notification settings - Fork 3.1k
35 lines (33 loc) · 945 Bytes
/
calens.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Calens Changelog
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- feature/*
- fix/*
- improvement/*
- release/*
- technical/*
permissions:
contents: read
jobs:
build:
permissions:
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
runs-on: ubuntu-22.04
name: Generate Calens Changelog
steps:
- uses: actions/checkout@v4
- name: Run Calens Docker
uses: addnab/docker-run-action@v3
with:
options: -v ${{github.workspace}}:/workspace -w /workspace
image: toolhippie/calens:latest
run: calens >| CHANGELOG.md
- name: Commit files
run: |
git config --global user.name 'joragua'
git config --global user.email '[email protected]'
git add CHANGELOG.md
git commit -m "Update changelog [skip ci]"
git push