Files
issues-helper/docs/guide/note.en-US.md
xrkffgg efca7df548 feat: update/delete comment support find-comments out (#63)
* fix: find comments

* add out

* add more

* add

* add doc

* fix link

* perf

* update doc

* Update gh-pages.yml

* Update .github/workflows/gh-pages.yml
2021-02-19 17:51:19 +08:00

1.7 KiB

toc
toc
menu
Here are some things I summarized in my use, I hope it can help you.

Include judgment in yml

if: contains(github.event.issue.body, 'ie') == false
  • Triggered when the issue body does not contain ie
  • The js includes() syntax is not supported in the yml
  • Case is not checked, IE and also similar to kiekk can also be satisfied

More.

Pass value and output in yml

with:
  actions: 'month-statistics'
  token: ${{ secrets.GITHUB_TOKEN }}
  count-lables: 'true'
  • count-lables: Regardless of setting true or 'ture', all received in the program is in string format

At the same time, the output is also in string format. See.

  • check-result: The judgment condition is if: steps.xxid.outputs.check-result =='true'

GitHub Actions bot trigger

When an action is set, such as adding a label x1 to an issue, Actions will automatically add a label x2 to the issue.

But if this is done by GitHub Actions bot (that is, the token in the actions is not passed, or the default token: ${{ secrets.GITHUB_TOKEN }} is used), the actions of label x2 will not be triggered.

ref: GitHub docs

assignees scope

  • The owner or collaborator of the warehouse, if there is an organization, including members
  • Participants of the issue, including creators and commenters