Skip to content

Commit f9b56b9

Browse files
authored
Merge pull request #1390 from polywrap/origin-0.9-dev
fix: PUBLISHERS detection | /workflows/release-pr
2 parents a3a0371 + 11e55bb commit f9b56b9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release-pr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
with:
1717
ref: ${{github.event.pull_request.base.ref}}
1818

19-
- name: Commenter Is Publisher?
19+
- name: Pull-Request Creator Is Publisher?
2020
run: |
21-
exists=$(echo $(grep -Fxcs ${COMMENTER} .github/PUBLISHERS))
21+
exists=$(echo $(grep -Fxcs ${CREATOR} .github/PUBLISHERS))
2222
if [ "$exists" == "1" ] ; then
2323
echo IS_PUBLISHER=true >> $GITHUB_ENV
2424
else
2525
echo IS_PUBLISHER=false >> $GITHUB_ENV
2626
fi
2727
env:
28-
COMMENTER: ${{github.pull_request.user.login}}
28+
CREATOR: ${{github.event.pull_request.user.login}}
2929

30-
- name: Commenter Is Not Publisher...
30+
- name: Creator Is Not Publisher...
3131
if: ${{env.IS_PUBLISHER == 'false'}}
3232
uses: actions/github-script@0.8.0
3333
with:

0 commit comments

Comments
 (0)