Releases #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Releases | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Initialize Git user | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Release Workflow 🤖" | |
- name: Log git status | |
run: git status | |
- name: conventional Changelog Action | |
id: changelog | |
uses: TriPSs/[email protected] | |
with: | |
github-token: ${{ secrets.github_token }} | |
- name: create release | |
uses: actions/create-release@v1 | |
if: ${{ steps.changelog.outputs.skipped == 'false' }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.github_token }} | |
with: | |
tag_name: ${{ steps.changelog.outputs.tag }} | |
release_name: ${{ steps.changelog.outputs.tag }} | |
body: ${{ steps.changelog.outputs.clean_changelog }} | |
- name: Generate Contributors Images | |
uses: jaywcjlove/github-action-contributors@main | |
id: contributors | |
with: | |
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) | |
avatarSize: 32 | |
- name: Modify README.md | |
uses: jaywcjlove/github-action-modify-file-content@main | |
with: | |
path: README.md | |
body: '${{steps.contributors.outputs.htmlList}}' | |