mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
change payload (#8371)
This commit is contained in:
6
.github/workflows/package_dispatch.yml
vendored
6
.github/workflows/package_dispatch.yml
vendored
@@ -12,10 +12,12 @@ jobs:
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
echo ${{ toJSON(github.event) }}
|
||||
const payload = {
|
||||
package_name: context.payload.package.name,
|
||||
package_version: context.payload.package.version
|
||||
package_name: github.event.package.name,
|
||||
package_version: github.event.package.version
|
||||
};
|
||||
|
||||
const octokit = new Octokit();
|
||||
await octokit.repos.createDispatchEvent({
|
||||
owner: 'Alfresco',
|
||||
|
Reference in New Issue
Block a user