Update close-discussion.yml (#2364)

This commit is contained in:
Real-MullaC 2024-07-16 20:01:06 +01:00 committed by GitHub
parent 51e5af41ed
commit 1fb986a05d
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 '(?<=Discussion: #)\d+')" echo "::set-output name=discussion::$(echo "${{ github.event.pull_request.body }}" | grep -oP '(?<=Resloves #)\d+')"
shell: bash shell: bash
- name: Close the discussion - name: Close the discussion