use github as pre-authenticated (#8373)

This commit is contained in:
Maurizio Vitale
2023-03-15 14:06:52 +01:00
committed by GitHub
parent 2bd1ae578a
commit b3c07c9789

View File

@@ -18,11 +18,11 @@ jobs:
package_commit_sha: github.event.package_version.target_oid
};
const octokit = new Octokit();
await octokit.repos.createDispatchEvent({
await github.repos.createDispatchEvent({
owner: 'Alfresco',
repo: 'alfresco-apps',
event_type: 'package-published',
client_payload: payload
});
console.log(`Trigger a dispatch event for the monorepo`);