Skip to content

Commit 1bfcbfd

Browse files
committed
reopen issue
1 parent c6d2d5d commit 1bfcbfd

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/R-CMD-check.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,19 @@ jobs:
232232
with:
233233
github-token: ${{ secrets.GITHUB_TOKEN }}
234234
script: |
235-
github.rest.issues.createComment({
235+
await github.rest.issues.createComment({
236236
owner: context.repo.owner,
237237
repo: context.repo.repo,
238238
issue_number: 170,
239239
body: 'Scheduled workflow has failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
240240
});
241+
242+
await github.rest.issues.update({
243+
owner: context.repo.owner,
244+
repo: context.repo.repo,
245+
issue_number: 170,
246+
state: 'open'
247+
});
241248

242249
rev-dep-check:
243250
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)