skills / publish-packages

Use GitHub Actions to publish your project to a Docker image.
MIT License
157 stars 71 forks source link

Adding "contents" to the sample publish workflow #33

Closed andrekolodochka closed 8 months ago

andrekolodochka commented 8 months ago

Summary

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