Working on my first electrical project (laundry room conversion), so all of this is new to me.
I'm splicing one 20A and one 30A circuit within a steel junction box to transfer from NM-B to THWN-2 for feeding through LFNC conduit to my outdoor breaker panel. In my reading of NEC 2020 250.148, I should be able to splice -- in my case with WAGO connectors -- each circuit's grounding wire together with the junction box's grounding pigtail and a single THWN-2 grounding wire that exits the box for connection to the panel's grounding bar. In this configuration the pigtail and exiting grounding wire would be 10AWG, matching the conductor sizes in the 30A circuit. Does this meet the code requirements?