Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit d8d3537

Browse files
committed
Fix working directory issue with update database workflow
1 parent ec3b4f2 commit d8d3537

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/update-database.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,13 @@ jobs:
2626
id: set-up-homebrew
2727
uses: Homebrew/actions/setup-homebrew@main
2828

29-
- name: Check out repository
30-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31-
with:
32-
fetch-depth: 0
33-
ref: main
34-
path: repo
35-
persist-credentials: false
36-
3729
- name: Install oras for interacting with GitHub Packages
3830
run: brew install oras
3931

4032
- name: Pull executables.txt from GitHub Packages
4133
run: oras pull ghcr.io/homebrew/command-not-found/executables:latest
4234

4335
- name: Update database
44-
working-directory: repo
4536
env:
4637
MAX_DOWNLOADS: ${{ github.event.inputs.max-downloads }}
4738
run: |
@@ -57,7 +48,6 @@ jobs:
5748
brew which-update --update-existing --install-missing $MAX_DOWNLOADS_ARGS executables.txt --summary-file=$GITHUB_STEP_SUMMARY
5849
5950
- name: Output database stats
60-
working-directory: repo
6151
run: brew which-update --stats executables.txt
6252

6353
- name: Log in to GitHub Packages

0 commit comments

Comments
 (0)