mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-26 23:57:35 +08:00
commit
f7852a8b03
23
.github/workflows/pr-title-checker.yaml
vendored
Normal file
23
.github/workflows/pr-title-checker.yaml
vendored
Normal 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
28
.github/workflows/update-changelog.yml
vendored
Normal 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
0
CHANGELOG.md
Normal file
Loading…
x
Reference in New Issue
Block a user