On 10/12/22 3:00 AM, Michael Bien wrote:
if you clone the project you getting the same behavior, just on your own copy.

Thank you, Michael. Four years in, and I'm still learning GitHub. :-)

its defined on the very top of the .github/workflows/main.yml file in your master branch.

Got it. I see now that the other projects I'm familiar with (JDK and JavaFX) simply exclude the master branch:

https://github.com/openjdk/jdk/blob/master/.github/workflows/main.yml

on:
  push:
    branches-ignore:
      - master
      - pr/*

https://github.com/jgneff/jfx/blob/master/.github/workflows/submit.yml

on:
  # Run GitHub actions on every push to all branches except the main
  # production branches, also exclude any branch starting with "WIP".
  push:
    branches-ignore:
      - master
      - main
      - 'jfx[0-9]+'
      - 'WIP*'

I thought that was somehow built-in behavior. Maybe this is the first time the tests ran because I'm no longer a first-time contributor?

https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

  About workflow runs from public forks

"To help prevent this, workflows on pull requests to public repositories from some outside contributors will not run automatically, and might need to be approved first. By default, all first-time contributors require approval to run workflows."

For now, I switched to "Disable actions."

Thanks again,
John


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to