Merge pull request #85 from meysamhadeli/develop

Develop
This commit is contained in:
Meysam Hadeli 2023-01-13 23:40:42 +03:30 committed by GitHub
commit f7852a8b03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 0 deletions

23
.github/workflows/pr-title-checker.yaml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Check PR title
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
title-checker:
name: Check PR title
runs-on: [ self-hosted ]
steps:
- uses: aslafy-z/conventional-pr-title-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

28
.github/workflows/update-changelog.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Update Changelog
on:
release:
types:
- released
jobs:
update:
name: Update Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}
- name: Commit updated Changelog
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: 'docs(changelog): update changelog'
file_pattern: CHANGELOG.md

0
CHANGELOG.md Normal file
View File