The piece of legislation that most likely funded the project giving the federal worker a job planting a pine tree sapling is the Civilian Conservation Corps Relief Act.
The Civilian Conservation Corps (CCC) was a New Deal program established during the Great Depression to provide jobs in natural resource conservation, including tree planting, reforestation, and other environmental projects.