Use escape to read var (#8377)

This commit is contained in:
Maurizio Vitale
2023-03-15 17:06:34 +01:00
committed by GitHub
parent 8aa9ce9556
commit 1854aff099

View File

@@ -13,9 +13,9 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const payload = {
package_name: github.event.registry_package.name,
package_version: github.event.package_version.name,
package_commit_sha: github.event.package_version.target_oid
package_name: ${{ github.event.registry_package.name }},
package_version: ${{ github.event.registry_package.package_version.name }},
package_commit_sha: ${{ github.event.registry_package.package_version.target_oid }}
};
github.repos.createDispatchEvent({