Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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
permissions:
contents: write
issues: write
actions: write
Loading