Skip to content

chore(SNP-1124): Update CI workflows #1

chore(SNP-1124): Update CI workflows

chore(SNP-1124): Update CI workflows #1

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 }}