From f386d7ce25a8f437218e762f41cb48af7b769eae Mon Sep 17 00:00:00 2001 From: Sheldon Hull Date: Thu, 25 Jan 2024 18:15:06 +0100 Subject: [PATCH] ci(lint): adjust triggering logic to reduce wasted runs on main, now just pr [skip ci] --- .github/workflows/lint.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 64f08f0..2f3d247 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,16 +1,9 @@ --- name: lint on: - # Run CI against all pushes (direct commits, also merged PRs), Pull Requests - push: + pull_request: branches: - main - - stable-* - pull_request: - # Run CI once per day (at 06:00 UTC) - # This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version - # schedule: - # - cron: '0 6 * * *' workflow_dispatch: permissions: