feat(pitot): project native cross-language TypeScript interfaces (#82) #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Pitot projection | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| # Brand exploration and preview material stay private to Intelligence Flow. | |
| # Only canonical distribution bytes may publish downstream. | |
| - "labs/15-pitot/**" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: publish-pitot-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: pitot | |
| permission-actions: write | |
| permission-contents: read | |
| - name: Dispatch Pitot sync | |
| env: | |
| GH_TOKEN: ${{ steps.app-token.outputs.token }} | |
| SOURCE_COMMIT: ${{ github.sha }} | |
| shell: bash | |
| run: >- | |
| gh workflow run sync-upstream.yml | |
| --repo operatorstack/pitot | |
| --ref main | |
| -f source_commit="$SOURCE_COMMIT" |