This sandbox repository is used to
- test inter-repository GitHub actions workflow,
- test some GitHub actions use-case.
push_via_PR_example.yml
yaml - steps :
- some new code is created
- a PR is created with this new code
- expect at least 1 PR check to start, then expect all checks to complete in success
- merge PR
NB: additionnal draft shows some alternatives using pure actions/github-script
based steps
publish_sample.yml
yaml - steps :
- read in current repo the release meta-info (versions.yml)
- prepare in current repo the release content (package)
- push to remote public web repo the release definition (version, description...)
- wait for remote workflow end with success
- create a new release draft of public web repo
- upload and attach package to the public release
- publish draft release
- let report release links, and download links
read_package_version.yml
yaml - steps :
- read version from
package.json
- echo package version
read_version.yml
yaml - steps :
- read versions from
versions.yml
and select target version entry - echo version details
main.yml
yaml - steps :
- 10 sec wait
=> triggered on main
push or PR
NB: this workflow is triggered by push and pull request and is used to have 1 check running on PR creation required by push via PR example