Skip to content

Commit 3a35d89

Browse files
authored
Remove redundant gh cli install steps
1 parent 6324bbb commit 3a35d89

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/04-advanced-features--04-github-permissions.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ jobs:
4141
continue-on-error: true # Avoids failing entire workflow
4242
steps:
4343
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
44-
45-
- name: Install GitHub CLI
46-
run: |
47-
sudo apt-get update -qq
48-
sudo apt-get install -y gh
49-
44+
5045
- name: List the first 5 open PRs (allowed)
5146
run: gh pr list --limit 5
5247
env:
@@ -69,11 +64,6 @@ jobs:
6964
steps:
7065
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
7166

72-
- name: Install GitHub CLI
73-
run: |
74-
sudo apt-get update -qq
75-
sudo apt-get install -y gh
76-
7767
- name: Attempt to add a label (expected to succeed)
7868
env:
7969
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)