On Wed, 17 Aug 2022 at 04:10, Michael Bien <[email protected]> wrote: > >> OK, this is probably due to > >> https://github.com/apache/netbeans/pull/3932 I guess we need to group > >> by head and base ref? > > > > yeahhh... maybe. This is making my head smoke thinking about all > > scenarios this workflow has to deal with. > > Played with it a bit in a private repo and simply concatenating the > base_ref might indeed work (even without having a ternary operator): > > group: ${{ github.head_ref || github.run_id }}-${{ github.base_ref }} > > non PR: > > "1234-" > > PRs: > > "head_ref-base_ref"
Yes, that's what I had in mind. Possibly simpler - wasn't 100% sure what the undefined output was - empty string is good enough. Thanks, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
