semantic-release currently fails to push to master for two reasons:
There wasn't a configured GitHub user
Master is a protected branch
This change configures the default actions-users as the GitHub user.
The GH_TOKEN secret is a personal access token linked to my GitHub account with "repo" level access. Prior to this change I modified the protected branch policy to allow my user to bypass the PR policy, which allows the configured user to push directly to the master branch. I'm open to suggestions if there are potentially better solutions to this problem.
What does this Pull Request accomplish?
semantic-release
currently fails to push to master for two reasons:This change configures the default
actions-users
as the GitHub user.The
GH_TOKEN
secret is a personal access token linked to my GitHub account with "repo" level access. Prior to this change I modified the protected branch policy to allow my user to bypass the PR policy, which allows the configured user to push directly to the master branch. I'm open to suggestions if there are potentially better solutions to this problem.Why should this Pull Request be merged?
Fixes semantic-release push to master.
What testing has been done?
Successful push to master and publish to pypi as part of the following build: https://github.com/ni/nisystemlink-clients-python/actions/runs/3501594867/jobs/5865425349 Resulting commit: https://github.com/ni/nisystemlink-clients-python/commit/7aadea4d9cb6ce5cb56c483b8dbfac48892697f1