Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding "contents" to the sample publish workflow #33

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

andrekolodochka
Copy link
Contributor

@andrekolodochka andrekolodochka commented Jan 8, 2024

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

  • For workflow changes, I have verified the Actions workflows function as expected.
  • For content changes, I have reviewed the style guide.

@andrekolodochka andrekolodochka changed the title Update 1-create-the-workflow-file.md Adding "contents" to the sample publish workflow Jan 8, 2024
Copy link

@Ebonsignori Ebonsignori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you

@Ebonsignori Ebonsignori merged commit 74da5c7 into main Jan 8, 2024
@Ebonsignori Ebonsignori deleted the andrekolodochka-patch-1 branch January 8, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants