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

Action to ensure header is build before merging #3

Closed
wants to merge 5 commits into from

Conversation

bromiesTM
Copy link
Collaborator

No description provided.

@bromiesTM bromiesTM force-pushed the kh/dev/header-actions branch from 16ea02c to e98043c Compare July 23, 2024 12:05
@bromiesTM bromiesTM requested a review from printminion-co July 23, 2024 12:05
@bromiesTM bromiesTM force-pushed the kh/dev/header-actions branch from e98043c to 0e71b0b Compare July 23, 2024 12:37
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>
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Collaborator Author

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

Copy link
Contributor

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

Copy link
Contributor

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

@bromiesTM bromiesTM force-pushed the kh/dev/header-actions branch from 0e71b0b to 65467f3 Compare July 23, 2024 12:39
@bromiesTM bromiesTM force-pushed the kh/dev/global-nav-header branch 2 times, most recently from 0c66e7e to 05d7c75 Compare July 24, 2024 07:29
@bromiesTM bromiesTM force-pushed the kh/dev/header-actions branch from 65467f3 to d4c2b07 Compare July 24, 2024 07:41
@bromiesTM bromiesTM closed this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants