项目作者: Logerfo

项目描述 :
A GitHub Action that manages triage state in issues.
高级语言: JavaScript
项目地址: git://github.com/Logerfo/triage-action.git
创建时间: 2019-11-08T13:22:11Z
项目社区:https://github.com/Logerfo/triage-action

开源协议:MIT License

下载


Dependencies Status

Triage Action

This action will manage triage state in issues.

Setting up

Create a file named .github/workflows/triage.yml.

Minimal Configuration

  1. name: Triage
  2. on:
  3. issues:
  4. types: [opened, closed, milestoned, demilestoned]
  5. project_card:
  6. types: [created, deleted]
  7. jobs:
  8. build:
  9. name: Triage
  10. runs-on: ubuntu-16.04
  11. steps:
  12. - uses: Logerfo/triage-action@0.0.2
  13. with:
  14. github-token: ${{ secrets.GITHUB_TOKEN }}

Complete configuration

All values are default.

  1. name: Triage
  2. on:
  3. issues:
  4. types: [opened, closed, milestoned, demilestoned] # The last two are not needed if milestone is set to false
  5. project_card: # Not needed if project is set to false
  6. types: [created, deleted]
  7. jobs:
  8. build:
  9. name: Triage
  10. runs-on: ubuntu-16.04
  11. steps:
  12. - uses: Logerfo/triage-action@0.0.2
  13. with:
  14. github-token: ${{ secrets.GITHUB_TOKEN }} # The `GITHUB_TOKEN` secret.
  15. label: triage # The triage label of your repository.
  16. project: true # Enable or disable the idea that adding an issue to a project drops its triage state.
  17. milestone: true # Enable or disable the idea that setting a milestone to an issue drops its triage state.

Auto update

You can use (at your own risk) the release branch instead of the specific version tag.
Never user master, since the distribution file does not exist in this branch and the action will always fail.

Disclaimer

The GitHub Projects API is currently in beta. This means that it can have a breaking change anytime, which may break this action and it might not be fixed.

Changelog

Click here.

Contributing

If you have suggestions for how close-label could be improved, or want to report a bug, open an issue! We’d love all and any contributions.

For more, check out the Contributing Guide.

Donate

BTC: 1LoGErFoNzE1gCA5fzk6A82nV6iJdKssSZ