fix: remove deploy pr comment post hook
This commit is contained in:
@@ -80,22 +80,6 @@ jobs:
|
|||||||
-no-color
|
-no-color
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Post Plan to PR
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
uses: actions/github-script@v7
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
const output = `#### Terraform Plan
|
|
||||||
\`\`\`
|
|
||||||
${{ steps.plan.outputs.stdout }}
|
|
||||||
\`\`\``;
|
|
||||||
github.rest.issues.createComment({
|
|
||||||
issue_number: context.issue.number,
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
body: output
|
|
||||||
});
|
|
||||||
|
|
||||||
- name: Fail if plan failed
|
- name: Fail if plan failed
|
||||||
if: steps.plan.outcome == 'failure'
|
if: steps.plan.outcome == 'failure'
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user