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
#!/usr/bin/env bash | |
printf "========== AUTOMATOR ===============================================\n\n" | |
# define variables | |
CONFIG=$@ | |
branch=$(git rev-parse --abbrev-ref HEAD) | |
repo_full_name=$(git config --get remote.origin.url | sed 's/.*:\/\/github.com\///;s/.git$//') | |
token=$(git config --global github.token) |