Skip to content

Commit 8ea6790

Browse files
committed
Apply kubedb/installer#2281: harden CI workflows
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 68f8088 commit 8ea6790

4 files changed

Lines changed: 1 addition & 16 deletions

File tree

‎.github/workflows/cherry-pick.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
git config --global user.email "${GITHUB_USER}@appscode.com"
2222
git remote set-url origin https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
2323
24-
- name: Install GitHub CLI
25-
run: |
26-
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
27-
sudo mv bin/hub /usr/local/bin
28-
2924
- name: Update release branches
3025
env:
3126
GITHUB_USER: ${{ github.actor }}

‎.github/workflows/release-tracker.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ jobs:
2222
git config --global user.email "${GITHUB_USER}@appscode.com"
2323
git remote set-url origin https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
2424
25-
- name: Install GitHub CLI
26-
run: |
27-
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
28-
sudo mv bin/hub /usr/local/bin
29-
3025
- name: Generate GitHub App token
3126
id: app-token
3227
if: |

‎.github/workflows/release.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ jobs:
1616
fetch-depth: 1
1717
fetch-tags: true
1818

19-
- name: Install GitHub CLI
20-
run: |
21-
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
22-
sudo mv bin/hub /usr/local/bin
23-
2419
- name: Print version info
2520
id: semver
2621
run: |

‎hack/scripts/update-release-tracker.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ case $GITHUB_BASE_REF in
6969
;;
7070
esac
7171

72-
hub api "$api_url" -f body="$msg"
72+
gh api "$api_url" -f body="$msg"

0 commit comments

Comments
 (0)