How tokens affect commit permissions and CI triggers
mainThe add-and-commit action uses the token configured in the local git repository (typically set during the actions/checkout step).
Triggering CI on new commits
By default, if you use the built-in GITHUB_TOKEN secret, GitHub will not trigger subsequent workflow runs from the commits generated by this action to prevent infinite loops.
To ensure commits generated by this action do trigger CI, you must checkout the repository using a Personal Access Token (PAT) instead of the default GITHUB_TOKEN.