forked from Dicklesworthstone/beads_viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 927 Bytes
/
acfs-checksums-dispatch.yml
File metadata and controls
30 lines (28 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Notify ACFS checksum monitor
on:
push:
branches: [main, master]
paths:
- 'install.sh'
- 'scripts/install.sh'
release:
types: [published]
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
env:
ACFS_TOKEN: ${{ secrets.ACFS_REPO_DISPATCH_TOKEN }}
steps:
- name: Skip dispatch when token missing
if: ${{ env.ACFS_TOKEN == '' }}
run: echo "ACFS_REPO_DISPATCH_TOKEN not set; skipping ACFS dispatch."
- name: Dispatch to ACFS
if: ${{ env.ACFS_TOKEN != '' }}
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ env.ACFS_TOKEN }}
repository: Dicklesworthstone/agentic_coding_flywheel_setup
event-type: upstream-changed
client-payload: |
{"repo":"${{ github.repository }}","ref":"${{ github.ref }}","sha":"${{ github.sha }}","event":"${{ github.event_name }}"}