You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wondering what is the best way to work around branch protections?
Error: {"command":"git push origin HEAD","exitCode":1,"outputData":"","errorData":"remote: error: GH006: Protected branch update failed for refs/heads/dev. \nremote: error: At least 1 approving review is required by reviewers with write access. 2 of 2 required status checks are expected.
The text was updated successfully, but these errors were encountered:
@TomVasile simply add a contents: write to the yaml file:
name: Github Action with a cronjob triggeron:
schedule:
- cron: "0 0 * * *"permissions:
contents: writejobs:
cronjob-based-github-action:
name: Cronjob based github actionruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v3# - step1# - step 2# - step n, use it as the last step
- uses: gautamkrishnar/keepalive-workflow@v1 # using the workflow with default settings
Wondering what is the best way to work around branch protections?
The text was updated successfully, but these errors were encountered: