diff --git a/.github/workflows/check_for_updates.yml b/.github/workflows/check_for_updates.yml index f54fb93..ead53af 100644 --- a/.github/workflows/check_for_updates.yml +++ b/.github/workflows/check_for_updates.yml @@ -227,3 +227,13 @@ jobs: fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Dispatch gmod_tests # Yes we shouldn't normally depend on this, though it really doesn't hurt. + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GH_API_KEY }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/CFC-Servers/gmod_tests/actions/workflows/branch_tests.yml/dispatches \ + -d '{"ref":"main","inputs":{"force_run":"false"}}' \ No newline at end of file