Github API
Jump to navigation
Jump to search
#!/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