The piece of legislation that most likely funded the project that gave 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 during the Great Depression that employed young men to work on environmental conservation projects, including planting trees.