We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ee8540 commit 602993bCopy full SHA for 602993b
1 file changed
src/index.ts
@@ -92,10 +92,12 @@ const run = async (): Promise<void> => {
92
const { eventName, repo, payload } = getGithubContext();
93
94
if (!token) {
95
+ core.error("No GitHub token provided");
96
return;
97
}
98
99
if (eventName !== "pull_request" || !payload.pull_request) {
100
+ core.info("Not a pull request event, skipping");
101
102
103
@@ -136,6 +138,8 @@ const run = async (): Promise<void> => {
136
138
const octokit = getOctokit(token);
137
139
140
if (qualityGateResults) {
141
+ core.info("Quality gate results found, checking status");
142
+
143
const qualityGateFailed = isQualityGateFailed(qualityGateResults);
144
145
octokit.rest.checks.create({
0 commit comments