docs icon indicating copy to clipboard operation
docs copied to clipboard

Fix curl request in rest code samples

Open pietervdheijden opened this issue 2 years ago • 2 comments

Why:

I copied to code sample literally to my GitHub actions workflow and spent a couple of hours to find out why my curl request didn't work... I'd like to prevent this for the next developer.

Closes: https://github.com/github/docs/issues/26396

What's being changed (if available, include any code snippets, screenshots, or gifs):

See linked issue.

Check off the following:

  • [ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

    • For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.
  • [x] For content changes, I have completed the self-review checklist.

pietervdheijden avatar Jun 30 '23 20:06 pietervdheijden

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Jun 30 '23 20:06 welcome[bot]

👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions. The complete list of files we can't accept are: .devcontainer/** .github/actions-scripts/** .github/workflows/** .github/CODEOWNERS assets/fonts/** data/graphql/** Dockerfile* src/** lib/redirects/** package*.json scripts/** content/actions/deployment/security-hardening-your-deployments/**

You'll need to revert all of the files you changed in that list using GitHub Desktop or git checkout origin/main <file name>. Once you get those files reverted, we can continue with the review process. :octocat:

github-actions[bot] avatar Jun 30 '23 20:06 github-actions[bot]

👋 Closing this per https://github.com/github/docs/issues/26396#issuecomment-1618442478

cmwilson21 avatar Jul 03 '23 14:07 cmwilson21