-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat: Add Rhondda Cynon Taff #358
feat: Add Rhondda Cynon Taff #358
Conversation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## master #358 +/- ##
=======================================
Coverage 83.44% 83.44%
=======================================
Files 3 3
Lines 151 151
=======================================
Hits 126 126
Misses 25 25 |
Looks like some commit lint errors to fix @dp247 😅 |
I can do that... once I figure out what that means 😅 |
Wish I knew too! Think @OliverCullimore added this nice bit of workflow |
Looks like a quality gate |
Try this PR #350 Which was green |
I thought it might be the |
@robbrad @dp247 it's checking the commit message rather than PR name sadly e.g. on #350 as @robbrad referenced the commit message contains a prefix of So essentially going forwards each commit should now have a prefix denoting it's type The main prefixes I expect us to use are:
This then enables https://commitizen-tools.github.io/commitizen/ to automatically bump the version for us based on our commit messages Hope that all makes sense? So @dp247 for your commits on this one they should've been prefixed with I'm not sure if we can edit commit messages to fix this? Otherwise it won't harm to merge this, it just won't generate a new version therefore won't be released and able to be used until another PR is merged that does trigger a release. |
…taff' into 357-request-to-add-rhondda-cynon-taff
@dp247 I've re-committed your support files commit with a feat: prefix so hopefully the PR merge should trigger a new version at least now even if the lint action is still failing on the other messages 😃 |
Thanks @OliverCullimore this makes total sense. Sorry had a lot on recently and not paid close attention. Could the same commit checks check for the files we need eg input.json etc? |
Thank you! That's a nifty thing - would it be worth adding something to Contributing.md as a reminder? |
That seems to have done the trick so @dp247 that's your first changes release in the new way https://github.com/robbrad/UKBinCollectionData/releases/tag/0.13.0 😃 @robbrad no worries at all, it's a bit of a change to how we were doing things and a learning curve for me on the existence and implementation of it all. But hopefully, now it's set up, it will enable us to focus what little time we have on adding more councils and improvements rather than manually creating releases now. @dp247 your commits have usefully also highlighted I missed updating the wiki action's commit message so I'll try and add a PR to fix that now 😄 And @robbrad I'm sure it should be possible to set something up to check for certain files but it would likely need some complex rules to handle adding a council vs fixing a small issue with an existing one, so maybe more something to revisit in the future? |
.... I did add a line https://github.com/robbrad/UKBinCollectionData/blob/master/CONTRIBUTING.md#make-sure-commit-messages-follow-the-conventional-commits-convention but I'm guessing it might need better placement and rewording as even I just found it hard to find where I'd put it in there |
Definitely parking lot. This is awesome and I love that this project has supported a learning journey. It's a massive part of why I set it up all those years ago... to learn Python!!! Kudos team!! |
Hello, hello. It's me.
This closes #357 very nicely. Please let me know if I have broken anything... it has been a while hahaha.