Difference between revisions of "Github API"
Jump to navigation
Jump to search
(Created page with "``` #!/usr/bin/env bash set -e shopt -s expand_aliases alias curl="curl --user \"$GITREPO_USERr:$GITREPO_PASS\"" getSecrets(){ curl \ -H "Accept: application/vnd.gith...") |
(No difference)
|
Latest revision as of 01:39, 1 September 2021
#!/usr/bin/env bash set -e shopt -s expand_aliases alias curl="curl --user \"$GITREPO_USERr:$GITREPO_PASS\"" getSecrets(){ curl \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/{owner/org}/{repo}/actions/secrets } getSecrets