Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Not just work on pull request! #1

Open
mystichar opened this issue Jun 1, 2024 · 0 comments
Open

[FEATURE REQUEST] Not just work on pull request! #1

mystichar opened this issue Jun 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mystichar
Copy link

Feature Summary

Make it so it doesnt error out on push requests!

Detailed Description

When I attempted to change the on pull request to on push, the references broke.

Run git config --global user.name github-actions
  git config --global user.name github-actions
  git config --global user.email [email protected]
  git commit -m "chores(C4 diagrams): Update Structurizr diagrams"
  git push origin HEAD:${GITHUB_HEAD_REF}
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    GIT_REF: dev
    CHANGES_EXIST: true
    GITHUB_TOKEN: ***
[dev 036b5c8] chores(C4 diagrams): Update Structurizr diagrams
 6 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 .documentation/diagrams/structurizr-Component-001-key.png
 create mode 100644 .documentation/diagrams/structurizr-Component-001.png
 create mode 100644 .documentation/diagrams/structurizr-Component-002-key.png
 create mode 100644 .documentation/diagrams/structurizr-Component-002.png
 create mode 100644 .documentation/diagrams/structurizr-SystemContext-001-key.png
 create mode 100644 .documentation/diagrams/structurizr-SystemContext-001.png
fatal: invalid refspec 'HEAD:'```

### Motivation and Benefits

It allows the image to be more versitilely used and integrated into more complex workflows.versatilely

### Possible Implementation

Easiest solution would seem to be to move all the commit/push code to the workflow instead of the image.

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
@mystichar mystichar added the enhancement New feature or request label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants