Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit 72926c4

Browse files
committed
ci: update GH CLI
1 parent 1fc72a5 commit 72926c4

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/sync-issue-labels.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55

66
on:
77
push:
8-
branches:
8+
branches:
99
- saga
1010
paths:
1111
- ".github/workflows/sync-issue-labels.yaml"
@@ -20,5 +20,14 @@ jobs:
2020
- name: Checkout
2121
uses: actions/checkout@v3
2222

23+
# Shipped version does not have label query fix, yet: https://github.com/cli/cli/issues/5673
24+
- name: Update GitHub CLI
25+
run: |
26+
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
27+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
28+
sudo apt update
29+
sudo apt install gh
30+
gh --version
31+
2332
- name: Sync issue labels from docs repository
24-
run: gh label clone NordicSemiconductor/asset-tracker-cloud-docs --force
33+
run: gh label clone NordicSemiconductor/asset-tracker-cloud-docs --force

0 commit comments

Comments
 (0)