ci: Fix experimental duplicate job
This commit is contained in:
parent
d4332d5705
commit
417d162cdb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check_duplicates.yaml
vendored
2
.github/workflows/check_duplicates.yaml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Search for similar issues
|
- name: Search for similar issues
|
||||||
run: echo "ISSUES=$(gh issue list --search '${{ github.event.issue.title }}' --json title,body | jq '[.[] | {title, body: (.body[:200])}]')"
|
run: echo "ISSUES=$(gh issue list --search '${{ github.event.issue.title }}' --json title,body | jq '[.[] | {title, body: (.body[:200])}]')" >> $GITHUB_ENV
|
||||||
- name: Send message to GPT
|
- name: Send message to GPT
|
||||||
if: "${{ env.ISSUES != '[]' }}"
|
if: "${{ env.ISSUES != '[]' }}"
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue