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

New version check: error on null/empty #2358

Merged
merged 1 commit into from
Jun 10, 2023

Conversation

Ahrotahn
Copy link
Contributor

This PR fixes a bug with the new version check action mentioned in #2347 using the fix suggested by @rany2.

@Ahrotahn Ahrotahn requested a review from a team as a code owner May 23, 2023 14:29
@Ahrotahn Ahrotahn linked an issue May 23, 2023 that may be closed by this pull request
@rany2
Copy link
Member

rany2 commented May 26, 2023

@networkException see my comment above, this doesn't work...

@@ -23,9 +23,9 @@ jobs:
- name: Get the latest Chromium version
id: latest-version
run: |
Copy link
Member

Choose a reason for hiding this comment

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

set -e needs to be set before running jq commands, otherwise workflow will fail only if the last jq statement fails which might not be the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From what I can tell from their documentation it seems that -e is already set by default.

Copy link
Member

Choose a reason for hiding this comment

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

That's only for when you pass a single command, if it's multiple lines it doesn't.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok then, I've added that to the PR.

@rany2
Copy link
Member

rany2 commented May 26, 2023

gah, I didn't submit my comment which is why you didn't see it! it was "pending"

Copy link
Contributor

@PF4Public PF4Public left a comment

Choose a reason for hiding this comment

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

Please don't merge this PR just yet. I'll explain in a moment.

@rany2
Copy link
Member

rany2 commented Jun 6, 2023

@PF4Public P.S. you haven't requested any changes

@PF4Public
Copy link
Contributor

Sorry everyone for stopping this PR. The issue is that with this workflow we sometimes run into secondary limits for some reason, which results in GitHub spamming failed workflow notifications. I remember this was happening even on 2 hour intervals. I kinda got used to them (albeit it is a bit annoying, since I care for failed workflows in my repository). My concern was that if Ahrotahn merges this PR, this could affect where GitHub sends the notifications. But it turned to be a no issue as Ahrotahn kindly browsed the documentation and found out that only changing cron schedule should divert notifications.

Not an issue with this PR per se, but sorry @rany2 if you took it personally.

Now the problem itself could be solved in the action we are using. There is already an issue filled: dblock/create-a-github-issue#39. Solving it probably requires some experience with Node.js and JavaScript (of which I don't have enough). I'd be grateful if someone could solve it :)

@rany2
Copy link
Member

rany2 commented Jun 9, 2023

Not an issue with this PR per se, but sorry @rany2 if you took it personally.

No no, I didn't take anything personally. It's just that you said you'll "explain in a moment" but didn't for a couple of hours. So I assumed you did a review like me but forgot to mark it as complete :)

@PF4Public PF4Public merged commit 4393e77 into ungoogled-software:master Jun 10, 2023
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.

Updating to Chromium null on Linux
4 participants