-
Notifications
You must be signed in to change notification settings - Fork 0
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
Action to ensure header is build before merging #3
Conversation
16ea02c
to
e98043c
Compare
e98043c
to
0e71b0b
Compare
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: "build(header): auto build header" | ||
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure the committer has to be this email
author: ${{ github.actor }} <${{ github.actor_id }}> | ||
branch: auto-build-${{ github.head_ref }}-output | ||
delete-branch: true | ||
signoff: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets also add labels e.g labels: build:js, automated pr
in order to be able to find autogenerated PRs.
Hint: The labels should be created beforehand
run: cd IONOS/ && npm run lint | ||
|
||
- name: Prettier | ||
run: cd IONOS/ && npm run format:check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets add last line
@@ -0,0 +1,46 @@ | |||
name: Header Build and Create Pull Request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like more "Build and Create Pull Request".. ...no strong opinion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to use "Header" as prefix everywhere as there could be additional components in the future, and it would be easier to distinguish them by a prefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably we can name the file build-project.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably we can name the file lint.yml
0e71b0b
to
65467f3
Compare
0c66e7e
to
05d7c75
Compare
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
Signed-off-by: Kai Henseler <[email protected]>
65467f3
to
d4c2b07
Compare
No description provided.