Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address zizmor findings #271

Merged
merged 1 commit into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: Audit
- trunk
schedule:
- cron: "0 0 * * TUE"
permissions: {}
jobs:
ruby:
name: Audit Ruby Dependencies
Expand All @@ -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
Expand All @@ -42,6 +45,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/block-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: Merge
"on":
pull_request:
types: [opened, labeled, unlabeled, synchronize]
permissions: {}
jobs:
labels:
name: Labels
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # v5.5
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: CI
- trunk
schedule:
- cron: "0 0 * * TUE"
permissions: {}
jobs:
build:
name: Build
Expand All @@ -23,6 +24,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand Down Expand Up @@ -53,6 +56,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand Down Expand Up @@ -83,6 +88,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand All @@ -104,6 +111,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand All @@ -122,6 +131,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
Expand All @@ -138,6 +149,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Setup Node.js runtime
uses: actions/[email protected]
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/fuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Fuzz
"on":
schedule:
- cron: "0 9 * * *"
permissions: {}
jobs:
encode:
name: Fuzz encode
Expand All @@ -13,6 +14,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand All @@ -34,6 +37,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand All @@ -55,6 +60,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/repo-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@
- .github/workflows/repo-labels.yaml
schedule:
- cron: "0 0 * * TUE"
permissions: {}
name: Create Repository Labels
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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/rustdoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: Documentation
- trunk
schedule:
- cron: "0 0 * * TUE"
permissions: {}
concurrency:
group: docs-${{ github.head_ref }}
env:
Expand All @@ -17,13 +18,17 @@ jobs:
rustdoc:
name: Build Rust API docs
runs-on: ubuntu-latest
permissions:
contents: write
env:
RUSTDOCFLAGS: -D warnings -D rustdoc::broken_intra_doc_links --cfg docsrs
RUST_BACKTRACE: 1

steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
Expand Down