microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Attempt to address workflow permissions issue when commiting to main branch #122

Closed janechu closed 3 years ago

janechu commented 3 years ago

Pull Request

📖 Description

According to the top answer https://stackoverflow.com/questions/63733822/cant-push-to-protected-branch-in-github-action with this same error we are seeing with the validator, the actions/checkout@v2 may be overriding the git permissions we have set up. This could be causing the error when attempting to push commits to the main branch.

✅ Checklist

General