Skip to content

Commit

Permalink
Add workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
dkogler committed Sep 17, 2024
1 parent 7b0b48c commit 5006227
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/trigger-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trigger Update in asd-projects-template

on:
workflow_dispatch:
push:
branches: [main]

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in asd-projects-template
run: |
curl -X POST https://api.github.com/repos/OperationSpark/asd-projects-template/dispatches \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.PAT }}" \
--data '{
"event_type": "update-${{ github.event.repository.name }}",
"client_payload": {
"repo": "${{ github.event.repository.name }}"
}
}'

0 comments on commit 5006227

Please sign in to comment.