This commit is contained in:
Maurizio Vitale
2023-03-15 17:40:23 +01:00
committed by GitHub
parent 1854aff099
commit 803e1f7f5b

View File

@@ -8,14 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Dispatch event to monorepo
uses: actions/github-script@v2
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const payload = {
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 }}
package_version: ${{ github.event.registry_package.package_version.name }}
};
github.repos.createDispatchEvent({