Unless contents: read is added, the current workflow will fail at checkout stage in a private repository with the following:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +87a962e1f4c0a79b3fb369709f767043d61d87c6:refs/remotes/origin/main
remote: Repository not found.
Error: fatal: repository 'https://github.com/****/skills-publish-packages/' not found
The process '/usr/bin/git' failed with exit code 128
Changes
added contents: read line to the workflow
Closes:
Task list
[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.
Summary
Unless
contents: read
is added, the current workflow will fail at checkout stage in a private repository with the following:Changes
added
contents: read
line to the workflowCloses:
Task list