Skip to content

Commit

Permalink
chore(changelog.yaml): add changelog generation workflow
Browse files Browse the repository at this point in the history
This commit adds a new file `.github/workflows/changelog.yaml` which contains a workflow configuration for generating a changelog. The workflow is triggered on push and pull request events on the `develop` branch. It runs on the latest version of Ubuntu and consists of two steps.

The first step uses the `actions/checkout@v3` action to checkout the repository with a fetch depth of 0, ensuring that the entire commit history is available for generating the changelog.

The second step uses the `cocogitto/cocogitto-action@v3` action to perform a conventional commit check. This action checks the latest tag only and is configured to not release a new version. It also sets the git user and email to 'Ali Sait Teke' and 'alisaitteke@gmail.com' respectively.

No newline at end of file.
  • Loading branch information
alisaitteke committed Jan 13, 2024
1 parent 500bb66 commit 754b874
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Readme Generate
on:
workflow_dispatch:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
with:
release: false
check-latest-tag-only: true
git-user: 'Ali Sait Teke'
git-user-email: 'alisaitteke@gmail.com'

0 comments on commit 754b874

Please sign in to comment.