diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f2b203f..96f7c4f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,7 +16,7 @@ jobs: dispatch: # Require: internal actor, not a fork, and PR targets main (tweak branch if needed) if: ${{ !github.event.pull_request.head.repo.fork - && contains(fromJSON('["MEMBER","OWNER","COLLABORATOR"]'), github.actor_association) + && contains(fromJSON('["thejhh","heusalagroupbot"]'), github.actor) && github.event.pull_request.base.ref == 'main' }} runs-on: ubuntu-latest timeout-minutes: 5 diff --git a/.github/workflows/task-or-bug.yml b/.github/workflows/task-or-bug.yml index f41a24d..6acd6c1 100644 --- a/.github/workflows/task-or-bug.yml +++ b/.github/workflows/task-or-bug.yml @@ -25,7 +25,7 @@ concurrency: jobs: dispatch: # Only members/maintainers/collaborators can trigger runs from a public repo - if: ${{ contains(fromJSON('["MEMBER","OWNER","COLLABORATOR"]'), github.actor_association) }} + if: ${{ contains(fromJSON('["thejhh","heusalagroupbot"]'), github.actor) }} runs-on: ubuntu-latest timeout-minutes: 5