ci: set GH_TOKEN env var
This commit is contained in:
parent
a7ff456c43
commit
ba885d461c
1 changed files with 2 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -29,6 +29,8 @@ jobs:
|
||||||
|
|
||||||
- name: Send repository dispatch
|
- name: Send repository dispatch
|
||||||
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh api \
|
gh api \
|
||||||
--method POST \
|
--method POST \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue