On 17.08.22 08:53, Neil C Smith wrote:
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.
https://github.com/apache/netbeans/pull/4514
there doesn't seem to be a field for PR numbers, otherwise this would be
a simple:
pr_num || run_id
since thats essentially what we want I guess.
-mbien
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
---------------------------------------------------------------------
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