Skip to content

ci: Update dependabot.yml #24

ci: Update dependabot.yml

ci: Update dependabot.yml #24

Workflow file for this run

name: Create Release
on:
push:
branches: [ 'main' ]
paths-ignore:
- '.github/workflows/*.yaml'
jobs:
create_release:
runs-on: ubuntu-20.04
name: Create Release
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get Latest Tag
id: previoustag
uses: WyriHaximus/[email protected]
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.PAT_REPO_ONLY }}
release_branches: main
default_bump: patch
- name: Generate incremental changelog
uses: charmixer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
release_branch: main
since_tag: ${{ steps.previoustag.outputs.tag }}
output: release.md
- name: Read incremental changelog
id: changelog
uses: juliangruber/read-file-action@v1
with:
path: ./release.md
- name: Create a GitHub release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.changelog.outputs.content }}
- name: Generate changelog
uses: charmixer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
release_branch: main
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: Generating CHANGELOG.md for ${{ steps.tag_version.outputs.new_tag }}"
file_pattern: CHANGELOG.md