sevntu-checkstyle / sevntu.checkstyle

Additional Checkstyle checks, that could be added as extension to EclipseCS plugin and maven-checkstyle-plugin, Sonar checkstyle plugin, extension for CheckStyle IDEA plugin.
http://sevntu-checkstyle.github.io/sevntu.checkstyle/
190 stars 147 forks source link

infra: fix bump_license_year.yml not adding year to commit message #976

Closed Vyom-Yadav closed 1 year ago

Vyom-Yadav commented 1 year ago

Source: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable

Proof of working: https://github.com/Vyom-Yadav/actions-test/commit/8ae3f4490e16f3bbba5f252f96b03e15198e8122

romani commented 1 year ago

Action still not able to execute manually.

romani commented 1 year ago

@Vyom-Yadav , please help to fix issue https://github.com/sevntu-checkstyle/sevntu.checkstyle/actions/runs/3819413501/jobs/6496951049

/home/runner/work/_temp/62cdcb00-5318-4d67-b8d3-966e54ed50c6.sh: line 1: ./.ci/bump-license-year.sh: Permission denied
Error: Process completed with exit code 126.

File might miss execution flag, we need to update it by chmod