cuelang.org/go@v0.13.0/.github/workflows/tip_triggers.yaml (about)

     1  # Code generated internal/ci/ci_tool.cue; DO NOT EDIT.
     2  
     3  name: Triggers on push to tip
     4  "on":
     5    push:
     6      branches:
     7        - master
     8        - ci/test
     9  jobs:
    10    push:
    11      defaults:
    12        run:
    13          shell: bash --noprofile --norc -euo pipefail {0}
    14      runs-on: ubuntu-24.04
    15      if: ${{github.repository == 'cue-lang/cue'}}
    16      steps:
    17        - name: Trigger unity build
    18          run: 'curl -s -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.PORCUEPINE_GITHUB_PAT }}" -H "X-GitHub-Api-Version: 2022-11-28" --fail --request POST --data-binary "{\"event_type\":\"Check against ${GITHUB_SHA}\",\"client_payload\":{\"type\":\"unity\",\"payload\":{\"versions\":\"\\\"commit:${GITHUB_SHA}\\\"\"}}}" https://api.github.com/repos/cue-unity/unity-private/dispatches'
    19        - name: Trigger cuelang.org tipdeploy
    20          run: 'curl -s -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.CUECKOO_GITHUB_PAT }}" -H "X-GitHub-Api-Version: 2022-11-28" --fail --request POST --data-binary "{\"ref\":\"master\"}" https://api.github.com/repos/cue-lang/cuelang.org/actions/workflows/tipdeploy.yaml/dispatches'