Skip to content

docs(yield): define skill workflows (#289) #21

docs(yield): define skill workflows (#289)

docs(yield): define skill workflows (#289) #21

Workflow file for this run

# Generated by labkit (python -m labkit gen). Do not edit by hand.
# Edit labs/<lab>/publish.config.json and regenerate; drift fails `labkit doctor`.
name: Publish Yield projection
on:
push:
branches: [main]
paths:
- "labs/22-yield/**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: publish-yield-projection
cancel-in-progress: false
jobs:
dispatch:
if: github.repository == 'operatorstack/intelligence-flow'
runs-on: ubuntu-latest
steps:
- name: Create Operator Stack Publisher token
id: app-token
uses: actions/create-github-app-token@v3
with:
client-id: ${{ vars.OPERATOR_STACK_PUBLISHER_APP_CLIENT_ID || vars.BOATSTACK_APP_CLIENT_ID }}
private-key: ${{ secrets.OPERATOR_STACK_PUBLISHER_APP_PRIVATE_KEY || secrets.BOATSTACK_APP_PRIVATE_KEY }}
owner: operatorstack
repositories: yield
permission-actions: write
permission-contents: read
- name: Dispatch Yield sync
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
SOURCE_COMMIT: ${{ github.sha }}
shell: bash
run: >-
gh workflow run sync-upstream.yml
--repo operatorstack/yield
--ref main
-f source_commit="$SOURCE_COMMIT"