Skip to content

ci: adopt Mainloop CI standard v1 #1

ci: adopt Mainloop CI standard v1

ci: adopt Mainloop CI standard v1 #1

Workflow file for this run

# Mainloop CI standard v1 (Mainloop-AI/.github STANDARD.md). Fill the inputs for this repo; do not copy the reusable workflow.
name: ci
on:
pull_request:
push:
branches: [develop, staging, main, master, production]
workflow_dispatch:
inputs:
base: {description: "the PR base this run stands for (back-merge PRs)", type: string, required: false, default: ""}
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}-${{ inputs.base }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
ci:
uses: Mainloop-AI/.github/.github/workflows/ci.yml@v1
with:
base: ${{ inputs.base }}
backmerge:
if: github.event_name == 'push' && contains(fromJSON('["main","master","production"]'), github.ref_name)
uses: Mainloop-AI/.github/.github/workflows/backmerge.yml@v1

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "Mainloop-AI/.github/.github/workflows/backmerge.yml@v1" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
permissions:
contents: write
issues: write
actions: write