diff --git a/.github/workflows/develop-pipeline.yml b/.github/workflows/develop-pipeline.yml index cd15312..a814acf 100644 --- a/.github/workflows/develop-pipeline.yml +++ b/.github/workflows/develop-pipeline.yml @@ -8,7 +8,6 @@ on: permissions: contents: read - actions: read concurrency: group: develop-pipeline-${{ github.ref }} diff --git a/.github/workflows/front-build.yaml b/.github/workflows/front-build.yaml index 4c59f46..2c58797 100644 --- a/.github/workflows/front-build.yaml +++ b/.github/workflows/front-build.yaml @@ -147,7 +147,7 @@ jobs: chromatic: name: Run Chromatic needs: [detect-changes, install] - if: needs.detect-changes.outputs.front == 'true' && ((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') || (github.event_name == 'push' && github.ref == 'refs/heads/main')) + if: needs.detect-changes.outputs.front == 'true' && ((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') || ((github.event_name == 'push' || github.event_name == 'workflow_call') && github.ref == 'refs/heads/main')) runs-on: ubuntu-latest timeout-minutes: 20 steps: diff --git a/.github/workflows/pr-title-check.yaml b/.github/workflows/pr-title-check.yaml index e162a62..bbfd973 100644 --- a/.github/workflows/pr-title-check.yaml +++ b/.github/workflows/pr-title-check.yaml @@ -11,6 +11,7 @@ on: jobs: check-pr-title: name: Check PR Title + if: github.head_ref != 'develop' runs-on: ubuntu-latest permissions: pull-requests: read