Easiest way to pkg add a pull request?

On a funny side-note, I recently saw

run: julia --color=yes --project -e 'using Pkg; Pkg.instantiate();
    using Foo#master; Foo.build()'

in a GitHub Action. This code looks valid if you don’t pay much attention and it will run in an Action, but it does not call Foo.build :joy:

(This is not an issue or whatever. The pkg API is great. It’s just funny.)