Skip to content

GHA for documentation update fails on master branch #187

@kjkrishnan

Description

@kjkrishnan

Commit and push changes step fails since master branch is protected:

! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/FertigLab/dominoSignal'
Error: Process completed with exit code 1.

Change to run on pull request to master branch. Fail test if it produces any changes and tell contributor documents are out of date to avoid all of the remote commits happening automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ghaGitHub Action related

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions