Skip to content
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
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,18 @@ jobs:
env:
WRAITH_REQUIRE_PTRACE: "1"
CARGO_TERM_COLOR: always
# package_deb.sh otherwise derives maintainer identity from the HEAD commit
# author; dependabot[bot] fails its e-mail validation. Configure repo variable DEBEMAIL.
DEBFULLNAME: ${{ vars.DEBFULLNAME || 'grloper' }}
DEBEMAIL: ${{ vars.DEBEMAIL }}
steps:
- uses: actions/checkout@v4
- name: Require maintainer identity
run: |
if [ -z "${DEBEMAIL}" ]; then
echo "::error::Set repository variable DEBEMAIL (Settings > Secrets and variables > Actions > Variables)"
exit 1
fi
- name: Install selected Rust toolchain
run: |
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --component clippy --component rustfmt
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@ jobs:
linux-x86_64:
runs-on: ubuntu-22.04
timeout-minutes: 20
env:
DEBFULLNAME: ${{ vars.DEBFULLNAME || 'grloper' }}
DEBEMAIL: ${{ vars.DEBEMAIL }}
steps:
- uses: actions/checkout@v4
- name: Require maintainer identity
run: |
if [ -z "${DEBEMAIL}" ]; then
echo "::error::Set repository variable DEBEMAIL (Settings > Secrets and variables > Actions > Variables)"
exit 1
fi
- name: Install stable Rust
run: |
rustup toolchain install stable --profile minimal --component clippy --component rustfmt
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ post vulnerabilities in public issues; see [SECURITY.md](SECURITY.md).
A false-positive report should include the Wraith version, kernel, invocation,
minimal benign reproducer and redacted events. A performance report should include
baseline and traced timings, sample count, workload and hardware—not only a ratio.

## CI maintainer identity

The Debian package gate requires a real maintainer contact. CI reads the
repository variables `DEBEMAIL` (required) and `DEBFULLNAME` (defaults to
`grloper`), set under Settings > Secrets and variables > Actions > Variables.
For local runs, export `DEBEMAIL` and `DEBFULLNAME` before `scripts/verify.sh`.
Loading