File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212permissions :
1313 contents : read
1414
15+ env :
16+ REPO_OWNER : ${{ github.repository_owner }}
17+
1518jobs :
1619 # ---------------------------------------------------------------------------
1720 # Job 1: panic-attack assail
3033 id : install
3134 run : |
3235 # Try to fetch the latest release binary from the org
33- PA_URL="https://github.com/hyperpolymath /panic-attack/releases/latest/download/panic-attack-linux-x86_64"
36+ PA_URL="https://github.com/${REPO_OWNER} /panic-attack/releases/latest/download/panic-attack-linux-x86_64"
3437 if curl -fsSL --head "$PA_URL" >/dev/null 2>&1; then
3538 curl -fsSL -o /usr/local/bin/panic-attack "$PA_URL"
3639 chmod +x /usr/local/bin/panic-attack
@@ -142,7 +145,7 @@ jobs:
142145 id : build
143146 continue-on-error : true
144147 run : |
145- git clone https://github.com/hyperpolymath /hypatia.git "$HOME/hypatia" 2>/dev/null || true
148+ git clone " https://github.com/${REPO_OWNER} /hypatia.git" "$HOME/hypatia" 2>/dev/null || true
146149 if [ -f "$HOME/hypatia/mix.exs" ]; then
147150 cd "$HOME/hypatia"
148151 if [ ! -f hypatia-v2 ]; then
You can’t perform that action at this time.
0 commit comments