Skip to content

Commit 66317d3

Browse files
authored
Test and monitor issue.author_association
1 parent e240749 commit 66317d3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/label-community-issues.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
contents: read
1313

1414
steps:
15+
# Adding this step for debug purposes
16+
# If this works as expected, we can simplify this workflow
17+
# and replace it with the `check-membership` step
18+
- name: Check organization membership (test)
19+
run: echo "${{ github.event.issue.author_association == 'MEMBER' }}"
1520
- name: Check organization membership
1621
id: check-membership
1722
uses: actions/github-script@v7
@@ -55,4 +60,4 @@ jobs:
5560
labels: ['community']
5661
});
5762
58-
console.log(`Added "community" label to issue by ${issueAuthor}`);
63+
console.log(`Added "community" label to issue by ${issueAuthor}`);

0 commit comments

Comments
 (0)