119ea8026Sopenharmony_ciname: post-release 219ea8026Sopenharmony_cion: 319ea8026Sopenharmony_ci release: 419ea8026Sopenharmony_ci branches: [master] 519ea8026Sopenharmony_ci types: [released] 619ea8026Sopenharmony_ci 719ea8026Sopenharmony_cijobs: 819ea8026Sopenharmony_ci post-release: 919ea8026Sopenharmony_ci runs-on: ubuntu-18.04 1019ea8026Sopenharmony_ci steps: 1119ea8026Sopenharmony_ci # trigger post-release in dependency repo, this indirection allows the 1219ea8026Sopenharmony_ci # dependency repo to be updated often without affecting this repo. At 1319ea8026Sopenharmony_ci # the time of this comment, the dependency repo is responsible for 1419ea8026Sopenharmony_ci # creating PRs for other dependent repos post-release. 1519ea8026Sopenharmony_ci - name: trigger-post-release 1619ea8026Sopenharmony_ci continue-on-error: true 1719ea8026Sopenharmony_ci run: | 1819ea8026Sopenharmony_ci curl -sS -X POST -H "authorization: token ${{secrets.BOT_TOKEN}}" \ 1919ea8026Sopenharmony_ci "$GITHUB_API_URL/repos/${{secrets.POST_RELEASE_REPO}}/dispatches" \ 2019ea8026Sopenharmony_ci -d "$(jq -n '{ 2119ea8026Sopenharmony_ci event_type: "post-release", 2219ea8026Sopenharmony_ci client_payload: { 2319ea8026Sopenharmony_ci repo: env.GITHUB_REPOSITORY, 2419ea8026Sopenharmony_ci version: "${{github.event.release.tag_name}}"}}' \ 2519ea8026Sopenharmony_ci | tee /dev/stderr)" 2619ea8026Sopenharmony_ci 27