Skip to content

Commit

Permalink
add trigger update landscape tooling workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DarhkVoyd committed Aug 1, 2024
1 parent 93b245a commit 26ce646
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/trigger-update-landscape-tooling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Trigger Update Landscape Tooling Workflow

on:
push:
paths:
- data/tooling-data.yaml
branches:
- main
workflow_dispatch:


jobs:
trigger-workflow:
runs-on: ubuntu-latest

steps:
- name: Trigger update landscape repository workflow
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer $PERSONAL_ACCESS_TOKEN" \
https://api.github.com/repos/json-schema-org/landscape/actions/workflows/update-landscape-tooling.yml/dispatches \
-d '{"ref":"main"}'

0 comments on commit 26ce646

Please sign in to comment.