Skip to content

CI: disable visual testing for forks #1904

@jsoref

Description

@jsoref

Describe the bug
While #1786 disabled visual testing for this repository, it left the workflow enabled for forks.

To Reproduce
Steps to reproduce the behavior:

  1. Fork this repository
  2. Make a change
  3. See error

Expected behavior
If a workflow is disabled for the main repository, it shouldn't be enabled for forks.

Error

Error: TypeError: Cannot read property 'replace' of undefined
    at /home/runner/work/_actions/chromaui/action/v1/action/main.js:2:1611930
    at /home/runner/work/_actions/chromaui/action/v1/action/main.js:2:1610851
    at Object.next (/home/runner/work/_actions/chromaui/action/v1/action/main.js:2:1610956)
    at o (/home/runner/work/_actions/chromaui/action/v1/action/main.js:2:1609670)
Error: Cannot read property 'replace' of undefined

Desktop (please complete the following information):

  • OS: Linux

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions