test workflow API rate limit exceeded (#2188)
* Create autoLabelDuplicate.yml * Update autoLabelDuplicate.yml * Update remove-outdated-labels.yml * Update dependent-issues.yml
This commit is contained in:
parent
9ebe73c351
commit
7100050934
|
@ -0,0 +1,14 @@
|
|||
name: "Label Duplicate"
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["duplicate of"]'
|
||||
labels: '["U: duplicate"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
@ -18,10 +18,10 @@ on:
|
|||
# can be removed.
|
||||
- synchronize
|
||||
|
||||
# Schedule a hourly check. Useful if you reference cross-repository
|
||||
# Schedule a check every two hours. Useful if you reference cross-repository
|
||||
# issues or pull requests. Otherwise, it can be removed.
|
||||
schedule:
|
||||
- cron: '0 * * * *'
|
||||
- cron: '0 */2 * * *'
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
|
|
@ -4,9 +4,6 @@ on:
|
|||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
issues:
|
||||
types:
|
||||
- closed
|
||||
jobs:
|
||||
remove-merged-pr-labels:
|
||||
name: Remove merged pull request labels
|
||||
|
|
Loading…
Reference in New Issue