playwright-slack-report-burak 3.0.9 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -98,10 +98,12 @@ class SlackReporter {
|
|
|
98
98
|
try {
|
|
99
99
|
// Get workflow run details
|
|
100
100
|
const apiUrl = `https://api.github.com/repos/${repo}/actions/runs/${runId}/jobs`;
|
|
101
|
+
this.log(`🔍 [GitHub Actions Detection] API URL: ${apiUrl}`);
|
|
101
102
|
const response = await axios.get(apiUrl, {
|
|
102
103
|
headers: {
|
|
103
|
-
'
|
|
104
|
-
'
|
|
104
|
+
'Accept': 'application/vnd.github+json',
|
|
105
|
+
'Authorization': `Bearer ${githubToken}`,
|
|
106
|
+
'X-GitHub-Api-Version': '2022-11-28'
|
|
105
107
|
},
|
|
106
108
|
params: {
|
|
107
109
|
per_page: 100
|
package/package.json
CHANGED