Skip to content

Commit 3f13a3c

Browse files
committed
chore: only run actions for thirdweb people
1 parent 9954b37 commit 3f13a3c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/auto-assign.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@ name: Auto Author Assign
22

33
on:
44
pull_request:
5-
types: [ opened, reopened ]
5+
types: [opened, reopened]
66

77
permissions:
88
pull-requests: write
99

1010
jobs:
1111
assign-author:
1212
runs-on: ubuntu-latest
13+
if: |
14+
github.event.pull_request.author_association == 'MEMBER' ||
15+
github.event.pull_request.author_association == 'OWNER' ||
16+
github.event.pull_request.author_association == 'COLLABORATOR'
1317
steps:
1418
- uses: toshimaru/auto-author-assign@v2.1.1

.github/workflows/issue.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Linked Issue
22

33
on:
44
pull_request:
5-
types: [opened, edited]
5+
types: [opened, edited, ready_for_review]
66

77
env:
88
VALID_ISSUE_PREFIXES: "CNCT|DASH|PROT|INSIGHT|ENGINE|CS|DES|BIL|DEVX|SOLU|NEB"
@@ -11,6 +11,10 @@ jobs:
1111
linear:
1212
name: Linear
1313
runs-on: ubuntu-latest
14+
if: |
15+
github.event.pull_request.author_association == 'MEMBER' ||
16+
github.event.pull_request.author_association == 'OWNER' ||
17+
github.event.pull_request.author_association == 'COLLABORATOR'
1418
steps:
1519
- name: Check for linked issue
1620
uses: actions/github-script@v7

0 commit comments

Comments
 (0)