From 7ad6e7d974d1447880d6d3423d412847c9df38d5 Mon Sep 17 00:00:00 2001 From: Gustav Westling Date: Wed, 1 Jun 2022 13:25:12 +0200 Subject: [PATCH] Fix the workflow for usage with ACT and on GitHub --- .github/workflows/codeball-act.yml | 2 +- .github/workflows/codeball.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeball-act.yml b/.github/workflows/codeball-act.yml index dafe4da..11277ec 100644 --- a/.github/workflows/codeball-act.yml +++ b/.github/workflows/codeball-act.yml @@ -2,7 +2,7 @@ on: [pull_request] name: Codeball (Local Testing) jobs: codeball_job_local_tetsing: - if: ${{ env.ACT }} + if: github.repository == 'sturdy-dev/test-codeball' runs-on: ubuntu-latest name: Codeball steps: diff --git a/.github/workflows/codeball.yml b/.github/workflows/codeball.yml index 70d15d0..efac67a 100644 --- a/.github/workflows/codeball.yml +++ b/.github/workflows/codeball.yml @@ -2,7 +2,7 @@ on: [pull_request] name: Codeball jobs: codeball_job: - if: ${{ !env.ACT }} + if: github.repository == 'sturdy-dev/codeball-action' runs-on: ubuntu-latest name: Codeball steps: