From c251ec82c0d3ad44d472c67092acf67e0b4979ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 3 Aug 2025 13:43:20 +0000 Subject: [PATCH 1/3] build(deps): update public-api requirement in the cargo-crates group Updates the requirements on [public-api](https://github.com/cargo-public-api/cargo-public-api) to permit the latest version. Updates `public-api` to 0.49.0 - [Release notes](https://github.com/cargo-public-api/cargo-public-api/releases) - [Changelog](https://github.com/cargo-public-api/cargo-public-api/blob/main/CHANGELOG.md) - [Commits](https://github.com/cargo-public-api/cargo-public-api/compare/public-api-v0.49.0...public-api-v0.49.0) --- updated-dependencies: - dependency-name: public-api dependency-version: 0.49.0 dependency-type: direct:production dependency-group: cargo-crates ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 97849cf0..3ff553bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,7 +89,7 @@ once_cell = { version = "1.20.1", default-features = false } proc-macro2 = { version = "1", default-features = false } proc-macro2-diagnostics = { version = "0.10.1", default-features = false } procfs = { version = "0.17.0", default-features = false } -public-api = { version = "0.49.0", default-features = false } +public-api = { version = "0.50.0", default-features = false } quote = { version = "1", default-features = false } rand = { version = "0.9", default-features = false } rbpf = { version = "0.3.0", default-features = false } From 5b8c4ed630aacbeef4c65b6ca22465b4abd1d328 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 3 Aug 2025 09:56:08 -0400 Subject: [PATCH 2/3] public-api: fix argument comment --- xtask/src/public_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/public_api.rs b/xtask/src/public_api.rs index b631b358..6d2b63b1 100644 --- a/xtask/src/public_api.rs +++ b/xtask/src/public_api.rs @@ -18,7 +18,7 @@ pub struct Options { #[clap(long)] pub bless: bool, - /// Bless new API changes. + /// Build for the target triple. #[clap(long)] pub target: Option, } From 5b9d432a61bdd24d9a6fc55fd0202a7f54b6cd62 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 3 Aug 2025 09:55:48 -0400 Subject: [PATCH 3/3] github: fix PR triggers --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b785a768..bac687bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,13 +42,13 @@ jobs: - run: ./clippy.sh - run: cargo xtask public-api - if: github.event_name == 'pull_request' + if: github.event_name != 'schedule' - run: cargo xtask public-api --bless - if: github.event_name != 'pull_request' && github.repository_owner == 'aya-rs' + if: github.event_name == 'schedule' - uses: peter-evans/create-pull-request@v7 - if: github.event_name != 'pull_request' && github.repository_owner == 'aya-rs' + if: github.event_name == 'schedule' with: # GitHub actions aren't allowed to trigger other actions to prevent # abuse; the canonical workaround is to use a sufficiently authorized