This repository has been archived on 2026-07-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
aniwatch-api/.github/workflows/release.yml
T
2023-08-02 21:05:30 +05:30

30 lines
804 B
YAML

name: Releases
on:
push:
branches: ["main"]
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: Checkouts repo
uses: actions/checkout@v2
# create release info and push it upstream
- name: Conventional changelog action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.CHANGELOG_SECRET }}
- name: Create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CHANGELOG_SECRET }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}