Skip to content

Commit

Permalink
🩹 Fix permissions of target subdirectories
Browse files Browse the repository at this point in the history
The `./target` subdirectories were being created with permission
`0750` which, although valid, is triggering warnings in Github's
actions during uploading -- as the required permissions are `0755`.

This manually find all directories and changes the permissions to be
`0755` so that there are no generated warning annotations.
  • Loading branch information
bitwizeshift committed Dec 15, 2023
1 parent 43de511 commit 040d73d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
with:
output-file: target/doc/licenses.html

# Some of the doc generation steps above create the directories with
# 0750 for permissions -- which is triggering warning annotations in the
# workflow summaries. Manually converting this to 0755 helps to suppress
# this.
- name: Fix permissions
run: |
find ./target -type d -exec chmod 0755 {} \;
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down

0 comments on commit 040d73d

Please sign in to comment.