Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 681990d

Browse files
authored
Update listener.yml (#895)
1 parent 47a5179 commit 681990d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/listener.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
- uses: actions/github-script@v6
9393
if: failure()
9494
with:
95+
github-token: ${{ secrets.DX_GITHUB_TOKEN }}
9596
script: |
9697
github.rest.issues.createComment({
9798
issue_number: ${{ env.PR_NUMBER }},
@@ -116,7 +117,7 @@ jobs:
116117
echo "PR_NUMBER=$(hub pr list -h ${{ github.event.client_payload.branchName }} -f %I)" >> $GITHUB_ENV
117118
env:
118119
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}
119-
120+
120121
# Comment on PR
121122
- name: Comment on Corresponding Repo
122123
uses: actions/github-script@v6
@@ -129,8 +130,8 @@ jobs:
129130
body: 'Corresponding Pull Request on [${{ github.event.client_payload.originRepo }}](https://github.com/Bandwidth/${{ github.event.client_payload.originRepo }}/pull/${{ github.event.client_payload.prNumber }}) was closed.'
130131
})
131132
132-
change_draft_status:
133-
if: ${{ github.event.action == 'Draft' }}
133+
change_draft_status:
134+
if: ${{ github.event.action == 'Draft' }}
134135
runs-on: ubuntu-latest
135136
steps:
136137
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)