Skip to content

fix(SNP-1234): Overview to Description #4

fix(SNP-1234): Overview to Description

fix(SNP-1234): Overview to Description #4

name: Add comment to Pyrus task on PR close
on:
pull_request:
types:
- closed
jobs:
get_pyrus_task_id:
name: Get Pyrus task ID from special comment in issue
uses: surfstudio/flutter-ci-workflows/.github/workflows/get_pyrus_task_id_from_issue_or_pr_comment.yml@main
with:
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
add_comment_to_pyrus_task:
name: Add comment to Pyrus task
needs: get_pyrus_task_id
uses: surfstudio/flutter-ci-workflows/.github/workflows/add_comment_to_pyrus_task.yml@main
with:
PYRUS_TASK_ID: ${{ needs.get_pyrus_task_id.outputs.PYRUS_TASK_ID }}
COMMENT_TEXT: The pull request is closed.
secrets:
LOGIN: ${{ secrets.PYRUS_BOT_LOGIN }}
SECURITY_KEY: ${{ secrets.PYRUS_BOT_SECRET_KEY }}