change payload values (#8372)

This commit is contained in:
Maurizio Vitale
2023-03-15 13:16:05 +01:00
committed by GitHub
parent 2fdcedb711
commit 2bd1ae578a

View File

@@ -12,10 +12,10 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
echo ${{ toJSON(github.event) }}
const payload = {
package_name: github.event.package.name,
package_version: github.event.package.version
package_name: github.event.registry_package.name,
package_version: github.event.package_version.name
package_commit_sha: github.event.package_version.target_oid
};
const octokit = new Octokit();