Add GitHub token / permissions for stefanzweifel/git-auto-commit-action
#6843
Labels
Bug
Something isn't working
Complexity: Small
Take this type of issues after the successful merge of your second good first issue
Feature: Refactor GHA
Refactoring GitHub actions to fit latest architectural norms
role: back end/devOps
Tasks for back-end developers
size: 0.5pt
Can be done in 3 hours or less
Projects
Overview
The
schedule-monthly.yml
workflow from earlier this month was not successful. After review, the cause has been traced to insufficient permissions given to the "stefanzweifel/git-auto-commit-action" that conflicts with thehackforla/website
's Branch Protection Rules. A fix is needed.Details
Two other HfLA workflows use the same auto-commit action, and both run without errors. The
schedule-monthly.yml
automation's failure can be traced back to the workflow's insufficient permissions to bypass the Branch Protection Rules. The following Action Items were tested in a personal repo and appear to address the problem.Additionally, this issue corrects a minor error in a comment, and removes the manual trigger
workflow dispatch:
since we do not want this action to be triggered off-schedule.Action Items
Refer to schedule-monthly.yml.
3:00 PDT
with the correct time of4:00 PDT
workflow-dispatch:
Resources/Instructions
The text was updated successfully, but these errors were encountered: