Skip to content

GitHub Auto Publish

Actions
Automate publish a GitHub release if find an unpublished version in CHANGELOG.md (Keep a Changelog format).
v1.0.0
Latest
Star (0)

GitHub Auto Publish

GitHub action to automate publish a GitHub release if find an unpublished version in CHANGELOG.md (Keep a Changelog format).

Usage

name: Publish
on:
  push:
    branches:
      - main
  workflow_dispatch:

jobs:
  github-publish:
    runs-on: ubuntu-latest
    steps:
      - uses: alirezatheh/github-auto-publish@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          files: ./dist/*.zip

The action assume:

  • Python and pip are installed (e.g. by actions/setup-python@v3).

Inputs

  • github-token: GitHub token (required).
  • files: Files to be uploaded as release assets (optional).

Acknowledgements

This action is inspired by pypi-auto-publish

GitHub Auto Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automate publish a GitHub release if find an unpublished version in CHANGELOG.md (Keep a Changelog format).
v1.0.0
Latest

GitHub Auto Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.