Skip to content

Commit 362a072

Browse files
Fix issue creation script in GitHub Actions workflow
1 parent 242db5f commit 362a072

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/SAPUI5_Version_Monitoring.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ jobs:
102102
with:
103103
github-token: ${{ secrets.SDM_CAP_GITHUB_TOKEN }}
104104
script: |
105-
const { data: issue } = await github.issues.create({
105+
// Log context and github for debugging
106+
console.log('Context:', context);
107+
console.log('GitHub object:', github);
108+
109+
const { data: issue } = await github.rest.issues.create({
106110
owner: context.repo.owner,
107111
repo: context.repo.repo,
108112
title: `Update SAPUI5 to version ${{ steps.run_script.outputs.latest_version }}`,

0 commit comments

Comments
 (0)