forked from github/safe-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support uppercase environment variable names
Github REST API supports case-sensitive names on this endpoint so we should always create (POST) variables with the desired case. On subsequent GET, PATCH, and DELETE requests the Github REST API will use loose matching to find any existing objects, ignoring case. So in general we need to force to lowercase to perform diffs, and respect the provided case for create, but for all other calls it doesn't matter which case is used. Signed-off-by: Kyle Harding <[email protected]>
- Loading branch information
Showing
2 changed files
with
79 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters