We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3a0371 + 11e55bb commit f9b56b9Copy full SHA for f9b56b9
1 file changed
.github/workflows/release-pr.yaml
@@ -16,18 +16,18 @@ jobs:
16
with:
17
ref: ${{github.event.pull_request.base.ref}}
18
19
- - name: Commenter Is Publisher?
+ - name: Pull-Request Creator Is Publisher?
20
run: |
21
- exists=$(echo $(grep -Fxcs ${COMMENTER} .github/PUBLISHERS))
+ exists=$(echo $(grep -Fxcs ${CREATOR} .github/PUBLISHERS))
22
if [ "$exists" == "1" ] ; then
23
echo IS_PUBLISHER=true >> $GITHUB_ENV
24
else
25
echo IS_PUBLISHER=false >> $GITHUB_ENV
26
fi
27
env:
28
- COMMENTER: ${{github.pull_request.user.login}}
+ CREATOR: ${{github.event.pull_request.user.login}}
29
30
- - name: Commenter Is Not Publisher...
+ - name: Creator Is Not Publisher...
31
if: ${{env.IS_PUBLISHER == 'false'}}
32
uses: actions/github-script@0.8.0
33
0 commit comments