workflows: fix copyright and PEP8

* Fixes wrong copyright years throughout the module.

* Fixes some PEP8 issues and cleans code in some places.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>