Skip to content

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

chore(SNP-1124): Update CI workflows

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

name: Create Pyrus task from new PR
on:
pull_request:
types:
- opened
- reopened
jobs:
get_package_name:
uses: surfstudio/flutter-ci-workflows/.github/workflows/get_package_name.yml@main
create_pyrus_task:
name: Create Pyrus task from pull request
needs: get_package_name
uses: surfstudio/flutter-ci-workflows/.github/workflows/create_pyrus_task_from_issue_or_pr.yml@main

Check failure on line 16 in .github/workflows/on_open_pr_create_pyrus_task.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/on_open_pr_create_pyrus_task.yml

Invalid workflow file

error parsing called workflow ".github/workflows/on_open_pr_create_pyrus_task.yml" -> "surfstudio/flutter-ci-workflows/.github/workflows/create_pyrus_task_from_issue_or_pr.yml@main" : failed to fetch workflow: workflow was not found.
with:
TYPE: Pull request
PACKAGE_NAME: ${{ needs.get_package_name.outputs.package_name }}
TITLE: ${{ github.event.pull_request.title }}
LINK: ${{ github.event.pull_request.html_url }}
secrets:
LOGIN: ${{ secrets.PYRUS_BOT_LOGIN }}
SECURITY_KEY: ${{ secrets.PYRUS_BOT_SECRET_KEY }}
add_pyrus_task_link:
name: Add Pyrus task link
needs: create_pyrus_task
uses: surfstudio/flutter-ci-workflows/.github/workflows/add_comment_to_issue_or_pr.yml@main
with:
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
# Don't change the comment link, because the Pyrus task ID is searched by the link text
COMMENT_TEXT: "[Link to Pyrus task](https://pyrus.com/t#id${{ needs.create_pyrus_task.outputs.TASK_ID }})"
REACTIONS: rocket