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 80c4b11 commit dc67347Copy full SHA for dc67347
1 file changed
.github/workflows/integration-testing.yml
@@ -75,8 +75,8 @@ jobs:
75
with:
76
result-encoding: string
77
script: |
78
+ let username;
79
try {
- let username;
80
if (context.payload.pull_request) {
81
username = context.payload.pull_request.user.login;
82
} else {
@@ -99,7 +99,7 @@ jobs:
99
return "auto-approve"
100
}
101
} catch (error) {
102
- console.log(`${username} does not have write access. Requiring Manual Approval to run PR Checks.`)
+ console.log(`Permission check failed for ${username}. Requiring Manual Approval to run PR Checks. Error: ${error.message}`);
103
return "manual-approval"
104
105
0 commit comments