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:
efb4f5ff-1298-471a-8973-3d47447115dc 2022-04-11 01:32:32 +00:00 committed by GitHub
parent 9ebe73c351
commit 7100050934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 5 deletions

View File

@ -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 }}"

View File

@ -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:

View File

@ -4,9 +4,6 @@ on:
pull_request_target:
types:
- closed
issues:
types:
- closed
jobs:
remove-merged-pr-labels:
name: Remove merged pull request labels