Skip to content

sync(hotfix):

sync(hotfix): #111

Workflow file for this run

name: Manage PR
on:
pull_request:
branches:
- main
- release
pull_request_review:
types:
- submitted
- edited
jobs:
lint-and-test:
name: Lint Files and Run Tests
uses: dot-base/.github/.github/workflows/lint-and-test.yml@main
get-pr:
name: Get PR
needs: lint-and-test
uses: dot-base/.github/.github/workflows/get-pr.yml@main
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}
lint-pr-title:
name: Lint PR Title
needs: get-pr
uses: dot-base/.github/.github/workflows/lint-pr-title.yml@main
with:
pr: ${{ needs.get-pr.outputs.pr }}
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}
# Run the following steps if the pull request is a release PR
merge-release-pr:
name: Merge Release PR
needs: [get-pr, lint-pr-title]
if: ${{ fromJson(needs.get-pr.outputs.pr).type == 'release' && fromJson(needs.get-pr.outputs.pr).isMergeable == true }}
uses: dot-base/.github/.github/workflows/merge-release-pr.yml@main

Check failure on line 41 in .github/workflows/manage-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/manage-pr.yml

Invalid workflow file

error parsing called workflow ".github/workflows/manage-pr.yml" -> "dot-base/.github/.github/workflows/merge-release-pr.yml@main" (source branch with sha:f2c0b050bfaea9c2ed11d728f89a45f16d8caa1f) : invalid value workflow reference: references to workflows must be prefixed with format 'owner/repository/' or './' for local workflows
with:
pr: ${{ needs.get-pr.outputs.pr }}
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}
create-release:
name: Create Release
needs: merge-release-pr
uses: dot-base/.github/.github/workflows/create-release.yml@main
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}
CR_PAT: ${{ secrets.CR_PAT }}
# Run the following steps if the pull request is a feature PR
configure-feature-pr:
name: Configure Feature PR
needs: [get-pr, lint-pr-title]
if: ${{ fromJson(needs.get-pr.outputs.pr).type == 'feature' }}
uses: dot-base/.github/.github/workflows/configure-feature-pr.yml@main
with:
pr: ${{ needs.get-pr.outputs.pr }}
secrets:
GH_BOT_USER: ${{ secrets.GH_BOT_USER }}
GH_BOT_PAT: ${{ secrets.GH_BOT_PAT }}