chore: disable IA when issue is confirmed but edited (#9525)
This commit is contained in:
parent
4437bceb6e
commit
ac132a6a03
10
.github/workflows/issue-analyzer.yml
vendored
10
.github/workflows/issue-analyzer.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
analyze-issue:
|
analyze-issue:
|
||||||
name: Analyze Issues
|
name: Analyze Issues
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ contains(github.event.issue.labels.*.name, 'bug') && github.event.issue.number > 9481 }}
|
if: ${{ contains(github.event.issue.labels.*.name, 'bug') && !contains(github.event.issue.labels.*.name, 'confirmed') && github.event.issue.number > 9481 }}
|
||||||
env:
|
env:
|
||||||
ISSUE_BODY: ${{ toJson(github.event.issue.body) }}
|
ISSUE_BODY: ${{ toJson(github.event.issue.body) }}
|
||||||
outputs:
|
outputs:
|
||||||
@ -29,14 +29,6 @@ jobs:
|
|||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
if (${{ contains(github.event.issue.labels.*.name, 'confirmed') }}) {
|
|
||||||
github.rest.issues.removeLabel({
|
|
||||||
issue_number: context.issue.number,
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
name: ["confirmed"]
|
|
||||||
})
|
|
||||||
}
|
|
||||||
if (${{ contains(github.event.issue.labels.*.name, 'not-reproducible') }}) {
|
if (${{ contains(github.event.issue.labels.*.name, 'not-reproducible') }}) {
|
||||||
github.rest.issues.removeLabel({
|
github.rest.issues.removeLabel({
|
||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
|
Loading…
Reference in New Issue
Block a user