Skip to content

Commit

Permalink
CIがない場合の処理追加
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit committed Feb 24, 2023
1 parent 95fe247 commit f684497
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr-preview-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
});
const check = checks.check_runs.filter(c => c.name === 'deploy-preview-environment');
if (check.length === 0) {
return;
}
const { data: result } = await github.rest.checks.get({
...context.repo,
check_run_id: check[0].id,
Expand Down

0 comments on commit f684497

Please sign in to comment.