mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-19 18:25:58 +08:00
1.9 KiB
1.9 KiB
toc
toc |
---|
menu |
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 tokiekk
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 settingtrue
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 isif: 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
- Max 10
Benchmark
For example: I use a Tag to trigger an Action, and the code that triggers the benchmark will follow the Action definition of the code corresponding to this Tag instead of the main branch code.