Skip to content

CI: disable visual testing for forks #1904

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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