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

Fix potential github action smells #16508

Merged
merged 2 commits into from
May 28, 2024

Conversation

ceddy4395
Copy link
Contributor

GitHub Issue (If applicable): closes #

PR Type

What kind of change does this PR introduce?

  • Build or CI related changes

What is the current behavior?

What is the new behavior?

Hey! 🙂
I want to contribute the following changes to your workflow:

  • Stop running workflows when there is a newer commit in branch
  • Use commit hash instead of tags for action versions
  • Use names for run steps
  • Steps should only perform a single command

These changes are part of a research Study at TU Delft looking at GitHub Action Smells. Find out more

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@CLAassistant
Copy link

CLAassistant commented Apr 29, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@jeromelaban jeromelaban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes!

.github/workflows/uwp-autoconvert.yml Show resolved Hide resolved
@jeromelaban
Copy link
Member

@ceddy4395 also note we're using conventional commits, you'll need to rewrite your commits using this convention (see the PR template).

- Stop running workflows when there is a newer commit in branch
- Use commit hash instead of tags for action versions
- Use names for run steps
- Steps should only perform a single command
@ceddy4395
Copy link
Contributor Author

@jeromelaban, thanks for pointing that out 🙈
I've rewritten the commit messages!

@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16508/index.html

@jeromelaban
Copy link
Member

@ceddy4395 it looks like specifying the base path entirely is required:

https://github.com/unoplatform/uno/actions/runs/8906593863/job/24459818384?pr=16508#step:14:49

@ceddy4395
Copy link
Contributor Author

@jeromelaban Yes I see, thanks for the feedback, I've reverted those changes.

@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16508/index.html

@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16508/index.html

working-dir

Make sure all files (including new ones) are also staged
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16508/index.html

Copy link
Member

@jeromelaban jeromelaban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@jeromelaban jeromelaban merged commit 3d6a698 into unoplatform:master May 28, 2024
15 checks passed
Copy link

welcome bot commented May 28, 2024

Congrats on your first pull-request! We ❤ the people who are involved in this project, and we’d love to pay it forward by sending you some swag. If you have any feedback (or ideas how to improve Uno as a open-source project) please open a feedback issue.
giphy
Merci beaucoup 👋

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.

None yet

5 participants