eastlakehs / community-service-tracker

Repo for the eastlake community service tracker website.
https://ehs-service.org
MIT License
4 stars 1 forks source link

Add a workflow to automatically update the copyright year on the license file #176

Closed theTisch21 closed 3 years ago

theTisch21 commented 3 years ago

This PR: Adds a python script to update the license copyright year (Thanks @Zjjc123 !) Adds a workflow scheduled to run on the first day of every month to update the year. It also has the ability to be manually run (I've also added it to run on a PR and/or on push for testing, once I've tested it I'll remove that trigger and mark the PR ready to merge)

netlify[bot] commented 3 years ago

This link represents the deploy preview for this given pr.

Building with commit 9a9457a90565c3dd1157fb438e4ea65a31ada081

https://app.netlify.com/sites/ehs-service/deploys/6096e49fcb2c3e0007d45b72

netlify[bot] commented 3 years ago

This link represents the deploy preview for this given pr.

Building with commit 89781b5b3d294334a1b27a688f4208e6b8cb7eb8

https://app.netlify.com/sites/ehs-service/deploys/6095e403b207d80008d97cf1

theTisch21 commented 3 years ago

Oh yikes, it's running twice. Removed the push trigger

theTisch21 commented 3 years ago

Oh the pull request trigger broke, but the push trigger worked. Huh. Changed it back to push and trying again

theTisch21 commented 3 years ago

This PR is now ready to be merged! Once it's merged, we can either wait until June 1st to test this, or you can go to the actions tab, select this workflow, then there'll be a button to manually run the workflow.

theTisch21 commented 3 years ago

@Zjjc123 @daniel-sudz It didn't work. The master branch is write protected and the bot can't directly commit to it. https://github.com/eastlakehs/community-service-tracker/runs/2535879773?check_suite_focus=true

Zjjc123 commented 3 years ago

@theTisch21 I don't know if you see it but I made a new issue. Just make the action submit a PR instead of push to master