mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-17 16:36:25 +08:00
29 lines
548 B
YAML
29 lines
548 B
YAML
name: Reusable Release Drafter
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" , "develop" ]
|
|
paths-ignore:
|
|
- "README.md"
|
|
pull_request:
|
|
branches: [ "main" , "develop" ]
|
|
paths-ignore:
|
|
- "README.md"
|
|
workflow_call:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Update Release Drafter
|
|
if: ${{ github.ref == 'refs/heads/main'}}
|
|
id: last_release
|
|
uses: release-drafter/release-drafter@v5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|