Skip to content

Commit

Permalink
use github-script
Browse files Browse the repository at this point in the history
  • Loading branch information
yapishu committed Oct 23, 2024
1 parent 3fed72b commit 766e1f5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-ylem-container-test-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Internal test build
uses: peter-evans/repository-dispatch@v3
uses: actions/github-script@v7
with:
token: ${{ secrets.GH_TOKEN }}
repository: tloncorp/ylem
event-type: test-breach-docker-ship
github-token: ${{secrets.GH_TOKEN}}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'tloncorp',
repo: 'ylem',
event_type: 'test-breach-ship-docker',
client_payload: { branch: 'main' }
});

0 comments on commit 766e1f5

Please sign in to comment.