Skip to content

Commit 82e5670

Browse files
committed
fix github token
1 parent 7b53849 commit 82e5670

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/trigger.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17-
- name: Trigger update in Demo Repository
17+
- name: Trigger update
1818
env:
19-
OTTO_TOKEN: ${{ secrets.GH_UPDATE_PACKAGE_OTTO }}
2019
RELEASE_TAG: "${{ github.event.release.tag_name }}"
2120
run: |
2221
echo "${{ github.event.release.tag_name }}"
2322
curl -X POST \
24-
-H "Authorization: token ${{ secrets.GH_UPDATE_PACKAGE_OTTO }}" \
23+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
2524
-H "Accept: application/vnd.github.v3+json" \
2625
https://api.github.com/repos/opsmill/infrahub-demo-dc-fabric-develop/dispatches \
2726
-d "{\"event_type\":\"trigger-dependabot-update\", \"client_payload\": {\"version\": \"${{ github.event.release.tag_name }}\"}}"

0 commit comments

Comments
 (0)