Skip to content

Commit

Permalink
[chore][resoto] Trigger build on merge to main. (#1798)
Browse files Browse the repository at this point in the history
* [chore][resoto] Trigger build on merge to main.

* only run on merge to main
  • Loading branch information
aquamatthias committed Oct 9, 2023
1 parent 27ff710 commit 631a568
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-build.yml
Expand Up @@ -281,3 +281,12 @@ jobs:
run: |
echo "Free space:"
df -h
- name: Trigger workflow in fix-collect-single
if: github.event_name != 'pull_request'
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.SOME_CI_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/someengineering/fix-collect-single/actions/workflows/docker_build.yml/dispatches \
-d '{"ref":"main"}'

0 comments on commit 631a568

Please sign in to comment.