Skip to content

Commit

Permalink
github: Avoid running TICS accidentally on non-main branches and othe…
Browse files Browse the repository at this point in the history
…r repos

Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Oct 1, 2024
1 parent e64073a commit 942f306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ jobs:
CGO_LDFLAGS: "-L/home/runner/go/bin/dqlite/libs/"
LD_LIBRARY_PATH: "/home/runner/go/bin/dqlite/libs/"
CGO_LDFLAGS_ALLOW: "(-Wl,-wrap,pthread_create)|(-Wl,-z,now)"
if: ${{ ( github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ) }}
if: ${{ ( github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ) && github.ref_name == 'main' && github.repository == 'canonical/lxd' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 942f306

Please sign in to comment.