From 5b9d432a61bdd24d9a6fc55fd0202a7f54b6cd62 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 3 Aug 2025 09:55:48 -0400 Subject: [PATCH] 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