Skip to content

Commit

Permalink
Check file permissions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Dec 10, 2024
1 parent a7343c6 commit 0fbeca1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,16 @@ jobs:
run:
cargo doc --workspace --no-deps --document-private-items --lib --examples ${{
matrix.features.features }} --target ${{ matrix.target.target }} $BUILD_STD_COMPONENTS

file-permissions:
name: File Permissions

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: List all files that are executable
run: find -type f -executable ! -path './.git/*'
- name: Fail if any executable files were found
run: find -type f -executable ! -path './.git/*' -exec false {} +

0 comments on commit 0fbeca1

Please sign in to comment.