Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Push can fail quietly in GitHub Action #9

@edhgoose

Description

@edhgoose

This could be the same as #2 - but quieter?

We're seeing something unusual where it looks like the commit and push is working fine, and yet nothing appears in our git repo when using the GitHub Action.

Our output from the action looks as follows:

/usr/bin/git add ./diagram.svg
/usr/bin/git status --porcelain ./diagram.svg
A  diagram.svg

A  diagram.svg
diff: A  diagram.svg

/usr/bin/git commit -m Repo visualizer: updated diagram
/usr/bin/git push
[development 274d2128] Repo visualizer: updated diagram
 1 file changed, 1 insertion(+)
 create mode 100644 diagram.svg
Everything up-to-date
All set!

Yet commit 274d2128 does not exist on the development branch anywhere to be seen!

I'm wondering where it has gone?

We don't see any other error messages, and I cannot determine any setting that looks to forbid pushing to the branch. We're not getting an error like #2, although we do have the protected branches on. So I'm wondering if we should be seeing the same issue?

We resorted to cat'ing the file out and copying it out - we're just playing anyway, so it's not critical :)

P.s. Thanks for this tool - it's really interesting to see our code visualised in this way.

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