Skip to content

Commit bbc81e3

Browse files
authored
Fixed author_association (#89)
* Fixed author_association * Fixed test
1 parent 86af841 commit bbc81e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
dispatch:
1717
# Require: internal actor, not a fork, and PR targets main (tweak branch if needed)
1818
if: ${{ !github.event.pull_request.head.repo.fork
19-
&& contains(fromJSON('["MEMBER","OWNER","COLLABORATOR"]'), github.actor_association)
19+
&& contains(fromJSON('["thejhh","heusalagroupbot"]'), github.actor)
2020
&& github.event.pull_request.base.ref == 'main' }}
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 5

.github/workflows/task-or-bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
jobs:
2626
dispatch:
2727
# Only members/maintainers/collaborators can trigger runs from a public repo
28-
if: ${{ contains(fromJSON('["MEMBER","OWNER","COLLABORATOR"]'), github.actor_association) }}
28+
if: ${{ contains(fromJSON('["thejhh","heusalagroupbot"]'), github.actor) }}
2929
runs-on: ubuntu-latest
3030
timeout-minutes: 5
3131

0 commit comments

Comments
 (0)