Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alirezatheh/github-auto-publish
GitHub action to automate publish a GitHub release if find an unpublished version in CHANGELOG.md (Keep a Changelog format).
https://github.com/alirezatheh/github-auto-publish
actions github github-actions publish release release-automation
Last synced: about 1 month ago
JSON representation
GitHub action to automate publish a GitHub release if find an unpublished version in CHANGELOG.md (Keep a Changelog format).
- Host: GitHub
- URL: https://github.com/alirezatheh/github-auto-publish
- Owner: AlirezaTheH
- License: mit
- Created: 2022-05-28T08:30:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T13:08:40.000Z (over 1 year ago)
- Last Synced: 2024-10-08T23:46:13.538Z (about 1 month ago)
- Topics: actions, github, github-actions, publish, release, release-automation
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# GitHub Auto Publish
GitHub action to automate publish a GitHub release if find an unpublished
version in `CHANGELOG.md`
([Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format).## Usage
```yaml
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](https://github.com/etils-actions/pypi-auto-publish)