项目作者: ponylang

项目描述 :
:horse: Bot to update a Pony format CHANGELOG with new entries
高级语言: Python
项目地址: git://github.com/ponylang/changelog-bot-action.git
创建时间: 2019-10-31T17:57:38Z
项目社区:https://github.com/ponylang/changelog-bot-action

开源协议:BSD 2-Clause "Simplified" License

下载


Changelog-bot action

Automatically adds a new changelog entry to a Pony project standard format CHANGELOG once a PR is merged. One of 3 labels must be applied to the PR in order for a CHANGELOG entry to be added:

  • changelog - added
  • changelog - fixed
  • changelog - changed

See the Pony changelog-tool for additional information on standard Pony project formats.

Example workflow

  1. name: Changelog Bot
  2. on:
  3. push:
  4. branches:
  5. - '**'
  6. tags-ignore:
  7. - '**'
  8. paths-ignore:
  9. - CHANGELOG.md
  10. jobs:
  11. changelog-bot:
  12. runs-on: ubuntu-latest
  13. name: Update CHANGELOG.md
  14. steps:
  15. - name: Update Changelog
  16. uses: docker://ghcr.io/ponylang/changelog-bot-action:0.3.7
  17. with:
  18. git_user_name: "Ponylang Main Bot"
  19. git_user_email: "ponylang.main@gmail.com"
  20. env:
  21. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Note, you do not need to create GITHUB_TOKEN. It is already provided by GitHub. You merely need to make it available to the Changelog-bot action.