Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lgmorand/github-action-generate-relnotes
Sample GitHub Action to generate release notes based on commits
https://github.com/lgmorand/github-action-generate-relnotes
Last synced: 6 days ago
JSON representation
Sample GitHub Action to generate release notes based on commits
- Host: GitHub
- URL: https://github.com/lgmorand/github-action-generate-relnotes
- Owner: lgmorand
- License: mit
- Created: 2021-04-30T06:50:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T06:48:44.000Z (3 months ago)
- Last Synced: 2024-08-24T07:43:58.124Z (3 months ago)
- Language: JavaScript
- Size: 14 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-action-generate-relnotes
## WARNING !!!
They updated the version of @actions/github AFTER the publication of the book. Depending on the version of the NPM module, the method is not exactly the same
| version | signature |
|--|---|
|4.X|octokit.repos.createRelease()|
|5.X|octokit.rest.repos.createRelease()|## Description
Sample GitHub Action to generate release notes based on commits
``` yaml
- uses: actions/checkout@v4
with:
fetch-depth: 0- name: Generate release + changelog
id: relnotes
uses: ./
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
newTag: ${{ github.event.inputs.tag }}
generateArtifact: true
```