Summary | Badge |
---|---|
Release Stability | |
Latest Release | |
Code Quality | |
Code Coverage |
Wrapper for github-changelog-generator
that allows human-readable changelog sections to be kept to automatically prepare versions based on the most
recent SemVer milestone, and to add to a pipeline that performs auto addition, committing, and pushing of changes.
The github-changelog-generator
is a fantastic tool and this tool utilises and extends it. Autolog:
since-version
or future-release
option in favour of looking in git tags
for the
former and GitHub Milestones for the latter.Note: you must be using GitHub Milestones as one per version in order for Autolog to work. Additionally, you must fetch all the commits/up to the tagged commit when checking out (see below).
Simply add this job to a workflow as part of the full Autosuite set or with just the following:
name: my-workflow
on: [push]
jobs:
autocommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
with:
fetch-depth: 0
- uses: autosuite/autolog@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-repository: ${{ github.repository }}
- uses: autosuite/autocommit@master
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
actions/checkout@v2.0.0
has option fetch-depth
set to 0
.HISTORY.md
to your .gitignore
.You can see all configuration in the action.yml file.
Variable | Value | Example | Default | Required? |
---|---|---|---|---|
github-token | The GitHub access token. | ${{ secrets.GITHUB_TOKEN }} | N/A | Yes. |
github-repository | group_or_user/repo . |
${{ github.repository }} | N/A | Yes. |