瀏覽代碼

Merge pull request #1311 from aya-rs/dependabot/cargo/cargo-crates-0a212f8889

dependabot[bot] 2 天之前
父節點
當前提交
fff92f8529
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 3 3
      .github/workflows/ci.yml
  2. 1 1
      Cargo.toml
  3. 1 1
      xtask/src/public_api.rs

+ 3 - 3
.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

+ 1 - 1
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 }

+ 1 - 1
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<String>,
 }