-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address zizmor security issues in GitHub Actions setup
- Loading branch information
Showing
10 changed files
with
259 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ name: Audit | |
- trunk | ||
schedule: | ||
- cron: "0 0 * * TUE" | ||
permissions: {} | ||
jobs: | ||
ruby: | ||
name: Audit Ruby Dependencies | ||
|
@@ -17,6 +18,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install Ruby toolchain | ||
uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # v1.215.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ name: CI | |
- trunk | ||
schedule: | ||
- cron: "0 0 * * TUE" | ||
permissions: {} | ||
jobs: | ||
test-setup-audit-toolchain: | ||
name: Test setup audit toolchain action | ||
|
@@ -18,6 +19,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup stable audit toolchain | ||
uses: ./setup-rust-action/audit | ||
|
@@ -34,6 +36,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup nightly build and test toolchain | ||
uses: ./setup-rust-action/build-and-test | ||
|
@@ -89,6 +92,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup stable build and test toolchain | ||
uses: ./setup-rust-action/check-minimal-versions | ||
|
@@ -134,6 +138,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup stable audit toolchain | ||
uses: ./setup-rust-action/code-coverage | ||
|
@@ -150,6 +155,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup stable build and test toolchain | ||
uses: ./setup-rust-action/lint-and-format | ||
|
@@ -231,6 +237,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup stable audit toolchain | ||
uses: ./setup-rust-action/miri | ||
|
@@ -247,6 +254,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: setup-rust-action | ||
persist-credentials: false | ||
|
||
- name: Setup nightly rustdoc toolchain | ||
uses: ./setup-rust-action/rustdoc | ||
|
@@ -261,6 +269,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install Ruby toolchain | ||
uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # v1.215.0 | ||
|
@@ -277,6 +287,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Lint and check formatting with prettier | ||
run: npx prettier --check '**/*' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,18 @@ | |
schedule: | ||
- cron: "0 0 * * TUE" | ||
name: Create Repository Labels | ||
permissions: {} | ||
jobs: | ||
labels: | ||
name: Synchronize repository labels | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
issues: write | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Sync GitHub Issue Labels | ||
uses: crazy-max/ghaction-github-labeler@b54af0c25861143e7c8813d7cbbf46d2c341680c # v5.1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.