We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389fc4b commit ca18158Copy full SHA for ca18158
.github/workflows/deploy-pre-chatbot.yml
@@ -49,3 +49,17 @@ jobs:
49
workflow_id: "deploy-pre.yml",
50
ref: "${{ steps.pr_details.outputs.result }}"
51
})
52
+
53
+ # Step 4: Post Confirmation Comment
54
+ - name: Post Comment to PR
55
+ if: steps.check_command.outputs.valid == 'true'
56
+ uses: actions/github-script@v6
57
+ with:
58
+ script: |
59
+ const issue_number = context.payload.issue.number;
60
+ github.rest.issues.createComment({
61
+ owner: context.repo.owner,
62
+ repo: context.repo.repo,
63
+ issue_number: issue_number,
64
+ body: `✅ Workflow \`deploy-pre.yml\` has been triggered for branch \`${{ steps.pr_details.outputs.result }}\`.`
65
+ });
0 commit comments