Skip to content

Disable nightly builds on the forks #1082

Description

@IAmSurajBobade

Disable nightly builds on the forks, consuming avoidable resources.

Note: This issue is not to related to fixing current nighly checks.

Image

Possible solution:
We can disable the nightly runs to only run it on primary repository using following condition

jobs:
  vulncheck:
    if: github.event_name != 'schedule' || github.repository == 'modelcontextprotocol/go-sdk'
    # ... other fields

  conformance:
    if: github.event_name != 'schedule' || github.repository == 'modelcontextprotocol/go-sdk'
    # ... other fields

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