Skip to content

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

License

Notifications You must be signed in to change notification settings

alirezatheh/github-auto-publish

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages