This GitHub Action will parse the body of a PR to retrieve a linked PR.
if you have two repos foo/bar
and foo/baz
, where a PR in foo/bar
depends on foo/baz
:
In foo/bar
you have a PR #1, with a description that includes
Requires https://github.com/foo/baz/pull/123
Which will provide your workflow in foo/bar
with the PR object of foo/baz/pull/123
as well as the SHA
TODO
TODO
TODO
Install the dependencies
$ yarn install
Build the typescript and package it for distribution
$ yarn dist
Run the tests ✔️
$ yarn test
PASS ./index.test.js
✓ throws invalid number (3ms)
✓ wait 500 ms (504ms)
✓ test runs (95ms)
...