Skip to content

Commit

Permalink
changed to use github.rest.issues.create of github-script@v5 in stati…
Browse files Browse the repository at this point in the history
…c.yaml
  • Loading branch information
kjsato committed Jun 13, 2024
1 parent 59fa666 commit e3a4cd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
const message = actor === 'unknown' && pr_number === 'unknown'
? `Hello @${owner}, the deployment has been completed. You can view the updated pages at ${page_url}.`
: `Hello @${owner}, the deployment of changes by @${actor} in PR #${pr_number} has been completed. You can view the updated pages at ${page_url}.`
github.issues.create({
github.rest.issues.create({
owner: owner,
repo: context.repo.repo,
title: pr_number === 'unknown'
? `Deployment completed`
? `Deployment completed`
: `Deployment completed for PR #${pr_number}`,
})

0 comments on commit e3a4cd9

Please sign in to comment.