Skip to content

GitHub Action doesn't respect Pull Requests and it's branches while validating. #1311

@AL2009man

Description

@AL2009man

It appears that GitHub Action on the .yml validate doesn't include something like this:

on:
  pull_request:
    branches:
      - main
    types:
      - edited
      - opened
      - synchronize

While it's fine for releases, Git Actions will instead use main as opposed to using the pull request's changes for testing purposes.

This caused several hours of troubleshooting when trying to test the changes before merging to Master. Had to resort to building the file myself due to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions