Skip to content

Commit

Permalink
Check for writes outside of the build directory
Browse files Browse the repository at this point in the history
ChangeLog:

	* .github/workflows/ccpp.yml: Make files outside the build
	directory read-only.

Signed-off-by: Owen Avery <[email protected]>
  • Loading branch information
powerboat9 committed Apr 26, 2024
1 parent fa86c37 commit b85d13f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
# install Rust directly using rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
- name: Make Source Read-Only
run: chmod -R a-w *

- name: Configure
run: |
mkdir -p gccrs-build;
Expand Down Expand Up @@ -122,6 +125,9 @@ jobs:
# install Rust directly using rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
- name: Make Source Read-Only
run: chmod -R a-w *

- name: Configure
run: |
mkdir -p gccrs-build;
Expand Down Expand Up @@ -205,6 +211,9 @@ jobs:
# install Rust directly using rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
- name: Make Source Read-Only
run: chmod -R a-w *

- name: Configure
run: |
mkdir -p gccrs-build;
Expand Down Expand Up @@ -264,6 +273,9 @@ jobs:
# install Rust directly using rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
- name: Make Source Read-Only
run: chmod -R a-w *

- name: Configure
run: |
mkdir -p gccrs-build;
Expand Down

0 comments on commit b85d13f

Please sign in to comment.