Problem with actions in github

When I push a branch to my fork GitHub - gus-massa/racket: The Racket repository the actions/tests are not run. The test run when send a PR upstream. Do I have to enable them somewhere?

PS: The tests run both in my fork GitHub - gus-massa/ChezScheme: Chez Scheme when I push a branch there and when I send the PR upstream.

I think the action is set to run on push only for the main branch. Otherwise, only PR would run the tests. Deleting these conditions locally in your branch is another option.

1 Like

Thanks. I'm not sure if this has been discussed before, but from https://stackoverflow.com/questions/57699839/github-actions-how-to-target-all-branches-except-master it's possible to use

on:
  push:
    branches:    
      - '**'

to run the test is every branch. The change is not very useful in the main repository, but it would be helpful for people writing PR before they send the PR. Are some of these workflow run automatically weekly or monthly and it would be bad to have too many of them enabled?

Triggering the checks for any branch would mean running the tests twice for every push to every PR. That may have been why @sorawee added the condition.

(FWIW, the push CIs have lots of configurations; the PR checks have much fewer ones.)