Skip to content

Commit bd98f85

Browse files
committed
Gate dispatch behind having a token
1 parent 2e654f5 commit bd98f85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/gametracking.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ on:
2626
required: true
2727
STEAM_PASSWORD:
2828
required: true
29+
DISPATCH_TOKEN:
30+
required: false
2931
jobs:
3032
gametracking-setup:
3133
runs-on: ${{ inputs.run-on-windows && 'windows-latest' || 'ubuntu-latest' }}
@@ -116,6 +118,7 @@ jobs:
116118
# Post-processing
117119

118120
- name: Dispatch sync to ValveProtobufs
121+
if: ${{ secrets.DISPATCH_TOKEN }}
119122
run: gh api repos/SteamTracking/Protobufs/dispatches -f event_type=sync
120123
env:
121124
GH_TOKEN: ${{ secrets.DISPATCH_TOKEN }}

0 commit comments

Comments
 (0)