|
| 1 | +name: Reflex Grid Broadcast |
| 2 | + |
| 3 | +on: |
| 4 | + issues: |
| 5 | + types: [labeled] |
| 6 | + push: |
| 7 | + branches: [main] |
| 8 | + workflow_run: |
| 9 | + workflows: ["CI"] |
| 10 | + types: [completed] |
| 11 | + |
| 12 | +jobs: |
| 13 | + reflex-collapse: |
| 14 | + if: contains(github.event.issue.labels.*.name, 'reflex-collapse') |
| 15 | + runs-on: ubuntu-latest |
| 16 | + steps: |
| 17 | + - name: Collapse reflex capsule |
| 18 | + uses: actions/github-script@v6 |
| 19 | + with: |
| 20 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 21 | + script: | |
| 22 | + console.log("?? Reflex collapse triggered.") |
| 23 | +
|
| 24 | + dispatch-uce: |
| 25 | + if: contains(github.event.issue.labels.*.name, 'dispatch-uce') |
| 26 | + runs-on: ubuntu-latest |
| 27 | + steps: |
| 28 | + - name: Dispatch to UCE |
| 29 | + uses: actions/github-script@v6 |
| 30 | + with: |
| 31 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 32 | + script: | |
| 33 | + console.log("?? External dispatch to UCE triggered.") |
| 34 | +
|
| 35 | + validator-submission: |
| 36 | + if: github.event_name == 'issues' && github.event.action == 'closed' |
| 37 | + runs-on: ubuntu-latest |
| 38 | + steps: |
| 39 | + - name: Confirm validator submission |
| 40 | + uses: actions/github-script@v6 |
| 41 | + with: |
| 42 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 43 | + script: | |
| 44 | + console.log("? Validator submission confirmed.") |
| 45 | +
|
| 46 | + grid-broadcast: |
| 47 | + if: github.event_name == 'push' |
| 48 | + runs-on: ubuntu-latest |
| 49 | + steps: |
| 50 | + - name: Broadcast grid update |
| 51 | + uses: actions/github-script@v6 |
| 52 | + with: |
| 53 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 54 | + script: | |
| 55 | + console.log("?? Grid-wide broadcast triggered on push to main.") |
| 56 | +
|
| 57 | + build-log-capsule: |
| 58 | + if: github.event_name == 'workflow_run' |
| 59 | + runs-on: ubuntu-latest |
| 60 | + steps: |
| 61 | + - name: Echo build log capsule |
| 62 | + uses: actions/github-script@v6 |
| 63 | + with: |
| 64 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 65 | + script: | |
| 66 | + console.log("?? Build log capsule echo triggered.") |
0 commit comments