If `iat` is in the future from the server clock perspective GitHub will report an error.
This can happen if the clock on the client system is significant out of sync with UTC and/or server time.
Adjusting `iat` to an arbitrary 60 seconds in the past means the error will not occur in cases where the client system clock is only off by a few seconds, which is not uncommon.
This fixes naming for a couple of variables in the `.env` examples in this document. Currently there are examples which suggest naming the private key variable `PRIVATE_KEY`, when really it should be `GITHUB_PRIVATE_KEY`. When following along in the example and attempting to run the server, using the incorrect name in the `.env` file leads to an error.
Co-authored-by: hubwriter <hubwriter@github.com>
* Empty commit
* updated beta note for GHAE
* more GHAE update + resolve conflict
* more GHAE updates + prepare for screenshots
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
* address remaining review comments
* Revise "About GitHub AE" (#17679)
* add screenshots to the Configuring article
* reworked to have a separate GHAE section
* list numbering
* more work on screenshots and conditions
* add GHAE screenshots in article
* review screenshots in article
* added more screenshots and updated more articles
* screenshot madness
* fix liquid versioning
* refactor the ghae script
* [GHAE CB/Feb 22]: Add article about data residency for GitHub AE (#17847)
* add missing GHAE versioning to article
* move screenshots to GHAE asset directory
* forgot to change the path for these two images
* replace CBB screenshot + add better screenshot
* [GHAE CB/Feb 22]: Document upgrades for GitHub AE (#17848)
* Version article for GitHub AE
* Replace unused variable
* Incorporate reviewer feedback
* Update intro
Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com>
* [GHAE] Enable IP allow list (#17691)
* Notes for CC
* Updat permission leves chart
* Add updated article to further reading
* Update gated feature callout with GitHub AE
* Version "Managing allowed IP addresses for your organization" for AE
* Update images
* Update "Restricting network traffic to your enterprise" with new procedures
* remove todo note
* Update audited actions
* Update info about Premium Runners
* Use reusable for Premium Runners
* Change "Premium Runners" to "AE hosted runners"
* Incorporate reviewer feedback
* Use correct reusable
* Version reusable correctly
* [Feb 22] GHAE: Code scanning beta (#17830)
* Add "github-ae" to all the frontmatter
* GHAE-ify the reusables
* Add some more changes
* Re-use some content
* 🔪 Semmle links
* Revert change re "--external-repository-token" in the CodeQL runner
* Update CodeQL runner token scopes
* Update two screenshots
* Remove mention of GitHub.com from AE + other fixes
* Apply suggestions from code review
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
* Use `product_name` variable instead of `product_location`
* Remove confusing phrase
* [Feb 22] GHAE: Code scanning API and webhook docs (#17883)
* Version API and webhook docs
* Actually add versioning for GHAE
* Fix anchor
* [TEMPORARY] Preview for API endpoints
* Revert API previews
* Update procedure step
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
* Update docs for AzureAD Group SCIM support in GHAE (#17892)
* Version out reference to public Pages site for GHAE
* [GHAE CB] SMTP bootstrapping flow (#17888)
* draft
* update with AE conntent
* update with tons of versioning
* remove that lie
* fill out the rest of these steps
* update with correct versioning
* more edits
* add images
* reversion most of ae article
* fix versioning
* format correctlly
* words matter
* last image
* update with permmissions
* update versioning
* add link
* apply feedback ❤️
* update with differrent spacing
* update with feedback
* more feedback
* Temporary GHAE release notes for consumables beta launch (#17859)
* Create release-notes.md
* Add frontmatter
* Add to index file
* Update github-ae-release-notes.md
* Add release notes from Google Doc
* Update finalized docs links that have been reviewed
* OAuth device flow link update
* version for AE
* few fixes
* Update content/admin/overview/github-ae-release-notes.md
* small edits
* whoops
* commit
* update with different links
* used wrong reusable
* fix more brokenness
* Update repository-references.js
* Update repository-references.js
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* [GHAE] Audit public repos (#17917)
* verifying what we mean by public
* Apply suggestions from code review
* Update content/developers/apps/installing-github-apps.md
Co-authored-by: Laura Coursen <lecoursen@github.com>
* fixing placememnt of liquid conditional
Co-authored-by: Laura Coursen <lecoursen@github.com>
* GHAE packages beta (#17786)
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
* Batch #1 of changes
* Batch #2
* getting started article update
* Update GraphQL article
* Only public repository reference
* Just update the link
* Update endpoint title to use "internal"
* fix build error
* placeholder update for updating `public_repo` scope in UI
* Remove unncessary versioning for now
* fix broken links
* Add REST API files
* Remove versioning since the endpoint "title" didn't get updated
* Version out the no scope option
* Evergreen rewrite
Co-Authored-By: Aaron Harpole <507570+aharpole@users.noreply.github.com>
* Add back public key
* Apply suggestions from code review
Co-authored-by: Alex Slepak <ams11@github.com>
Co-authored-by: Aaron Harpole <aharpole@github.com>
* Remove versioning and add evergreen rewrite
* Just the way it was before
* fix confusing legacy bit
* Apply suggestions from code review
Co-authored-by: Alex Slepak <ams11@github.com>
* Apply suggestions from code review
Co-authored-by: Sarah Edwards <skedwards88@github.com>
* Movin' on up
* no versioning needed
* internal gists exist!
* Doesn't need versioning
* Keep this as-is
* Remove screenshots 💥
* Apply suggestions from code review
Co-authored-by: Sarah Edwards <skedwards88@github.com>
* Never updated REST API docs with different endpoint name
* No versioning needed
* Merge conflict fix: Updated this article from main branch
* Apply suggestions from code review
* Revert "Add REST API files"
This reverts commit 1a8ad0adca47daaa1bf9d1b3642c4ec073564996.
* checkout changes from main
* Update OpenAPI Descriptions (#18103)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: shati-patel <shati-patel@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Aaron Harpole <507570+aharpole@users.noreply.github.com>
Co-authored-by: Alex Slepak <ams11@github.com>
Co-authored-by: Aaron Harpole <aharpole@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
* New article title & reposition article
* Update links
* Remove "Deleting a container image" article
* Reusable shuffle
* Add GHES versioned article
* more context
* Revise main article
* Reminder of permissions
* Update some copy
* Add "deleting a package" to TOC
* Add versioning around links
* Update restore package procedure
* Update permissions statements
* Fix GHES link
* Apply suggestions from code review
Co-authored-by: Martin Lopes <martin389@github.com>
* Use "entire" language
* GraphQL nuance
* New intro + actions
* Fix GHES link
* Package deletion 2.0 follow up (#17855)
* Remove GHES 3.1 versioning
* 3.0 or less
* Revert "Remove GHES 3.1 versioning"
This reverts commit 9bbc0bd57c1c7ba23097f3f4b9a830c13941402c.
* Revert "3.0 or less"
This reverts commit dfd2f48e4a4da62c2594fbeaeb12eacda5afc6d4.
* Revert "Revert "Remove GHES 3.1 versioning""
This reverts commit ef90065eb2883041b15bd2d50f97e4f07cf04768.
* Ditch unnecessary package namespace references and rework permissions framing
* Add placeholder note so PR tests will pass
* Add versioning around package deletion mentions outside of main deletion articles
* Add placeholder around link so it will go live
* Add `audit_log` entries
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
* Apply Shati's suggestion
* Remove duplicate line
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
* Package deletion 2.0 last updates (#17880)
* Update versioning and placeholder note
* syntax improvement
* Note the 25 downloads caveat
* Add more headings
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Sarah Edwards <skedwards88@github.com>
* Apply suggestions from code review
* Apply suggestions from code review
* Packages REST API page (#17808)
* Add draft of packages REST page
* Add packages in TOC
* Rewrite Packages API introductory info
* Fix space
* Rewrite conceptual API intro content
* Revise this line
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Mark Phelps <markphelps@github.com>
* Add rewrite
* Add de dereferenced files
* Add the decorated files
* ALL of the decorated files
* Revert "ALL of the decorated files"
This reverts commit 38f13dcd75078f2eacb53dfd0b31c79737966656.
* Revert "Add the decorated files"
This reverts commit b0c8a2096c8b19e62404585f97298ab42822d3e5.
* Revert "Add de dereferenced files"
This reverts commit abd377c8eb804e9c69dffa9b0c01ec64fb500727.
* Commit the lib/rest/static files to preview changes on staging
* Revert "Commit the lib/rest/static files to preview changes on staging"
This reverts commit acb121ae9d8bd2e23b00ebb14848e7b83aeddf5b.
Co-authored-by: Mark Phelps <markphelps@github.com>
* Commit static files to preview endpoints on staging
* Update references to API support
* remove static rest api files
* ditch "as a user" for now
* Rearrange based on feedback
* Last tidbits
* Update OpenAPI Descriptions (#17893)
* Update OpenAPI Descriptions
* Add decorated OpenAPI schema files
* link fix
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Mark Phelps <markphelps@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
* chore: Add missing code fence languages
* Update content/actions/creating-actions/dockerfile-support-for-github-actions.md
* Add raw & endraw markers around shell content
See review comment by @rachmari
* Add raw & endraw markers around shell content
See review comment by @rachmari
* Remove language from code fences
to avoid the problem of replaceable text indicates like
<this> not showing up in the output page.
Co-authored-by: hubwriter <hubwriter@github.com>
* delete section describing use of oauth api in dotcom only section
* version mention of oauth api for ghae only
* version code scanning alert not for ghae
* version security alerts to not be for GHAE
* version Libraries article to include GHAE
* version links to beta and suspending apps to not be for GHAE or GHES
* version link to authorization API to be GHES only
Co-authored-by: Sarah Schneider <sarahs@github.com>