Skip to content

Commit 713d3c0

Browse files
Update conference.yml
1 parent 8af2ee9 commit 713d3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/conference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
8080
- name: Add comment to the issue
8181
uses: actions/github-script@v6
82-
if: ${{ github.event.issue.user.type == 'User' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference') }} #adds comment only if the issue is created by a user
82+
if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference') }} #adds comment only if the issue is created by a user
8383
with:
8484
github-token: ${{ secrets.GITHUB_TOKEN }}
8585
script: |

0 commit comments

Comments
 (0)