Update close-discussion.yml

This commit is contained in:
Chris Titus 2024-07-16 14:08:24 -05:00 committed by GitHub
parent a760400aeb
commit df2cd71d1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ jobs:
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
id: extract-discussion id: extract-discussion
run: | run: |
echo "::set-output name=discussion::$(echo "${{ github.event.pull_request.body }}" | grep -oP '(?<=Resloves #)\d+')" echo "::set-output name=discussion::$(echo "${{ github.event.pull_request.body }}" | grep -oP '(?<=Resolves #)\d+')"
shell: bash shell: bash
- name: Close the discussion - name: Close the discussion