Skip to content

Commit

Permalink
Workaround for metadata-validation Github action's Python deps
Browse files Browse the repository at this point in the history
The upstream hardware-metadata-validation action presently fails to install
Python dependencies with a permissions error for the pip cache directory. Until
it's fixed upstream, patch the action to take ownership of the directory.
  • Loading branch information
chrisandreae committed Jul 24, 2024
1 parent e4f167f commit bf59469
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/hardware-metadata-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
image: docker.io/zmkfirmware/zmk-dev-arm:3.5
steps:
- uses: actions/checkout@v4
- name: Take ownership of /github/home/.cache (temporary patch)
run: chown -R $(whoami) /github/home/.cache
- name: Install dependencies
run: pip install -r app/scripts/requirements.txt
- name: West init
Expand Down

0 comments on commit bf59469

Please sign in to comment.