Skip to content

Don't schedule CI jobs for locales PRs#7534

Merged
mrcasals merged 9 commits intodevelopfrom
chore/l10n_skip_ci
Mar 4, 2021
Merged

Don't schedule CI jobs for locales PRs#7534
mrcasals merged 9 commits intodevelopfrom
chore/l10n_skip_ci

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

@mrcasals mrcasals commented Mar 4, 2021

🎩 What? Why?

When we get Crowdin updates, we schedule all the CI jobs, even if they're then automatically skipped. This feels weird, since we're scheduling jobs that will be skipped anyway. Also, CI jobs would only be scheduled once the PR is created.

With this approach, we're making sure the CI jobs for Crowdin updates are never even scheduled, and we're running the CI on any push to any branch (instead of waiting for the PR to be created).

📌 Related Issues

None

Testing

I guess you could play with the code any using differnt branch names? Also, #7535 builds on top of this one. Notice how the tests actually run there, but not in this PR, due to the branch names.

Copy link
Copy Markdown
Contributor

@oliverbarnes oliverbarnes left a comment

Choose a reason for hiding this comment

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

👌 good idea, should help unclog ci queues. Removing the conditionals cleans up workflow code as well

@mrcasals mrcasals merged commit dc95827 into develop Mar 4, 2021
@mrcasals mrcasals deleted the chore/l10n_skip_ci branch March 4, 2021 11:18
entantoencuanto added a commit that referenced this pull request Mar 4, 2021
* develop:
  Update the workflow cleanup action to the latest version (#7535)
  Don't schedule CI jobs for locales PRs (#7534)
  Fix record encryptor trying to decrypt or decode non-String values (#7536)
  Add Votings landing page to the design app (#7527)
  New Crowdin updates (#7530)
  Fix non-unique IDs element in filter hash cash (#7531)
  New Crowdin updates (#7485)
  Add statistics cell to votings landing page and reuse it in other places (#7413)
  Add Votings landing page layout (#7440)
  Add share modal to budgets (#7519)
  Do not change the global test app configs during specs (#7525)
  Change the order of attachments in budgets (#7524)
  Remove console warnings from the conversations views (#7523)
  Don't allow filtering meetings by user group if setting is disabled (#7514)
  Remove duplicated migration (#7517)
  New Admin users cannot accept Terms and conditions (#7516)
  Let installations delay TranslatorJob initialization (#7507)
  Exit on CI workflow dispatch failures (#7502)
  Invalidate all user sessions when destroying the account (#7506)
  Audit vote (#7442)
@mrcasals
Copy link
Copy Markdown
Contributor Author

mrcasals commented Mar 4, 2021

#7539 is a locales PR that ran after this PR was merged. If you check the CI jobs, you'll see only the ones in Main were scheduled, as expected! 🎉

@mrcasals
Copy link
Copy Markdown
Contributor Author

mrcasals commented Mar 5, 2021

Well, this seems to break the pipeline for PRs coming from forks.

I'm reverting this PR.

mrcasals added a commit that referenced this pull request Mar 5, 2021
mrcasals added a commit that referenced this pull request Mar 5, 2021
entantoencuanto added a commit that referenced this pull request Mar 5, 2021
* develop:
  Fix infinite loop when impersonated session time runs out (#7221)
  New Crowdin updates (#7543)
  Migrate Admin menus to Menu Registry Part 2 (#7382)
  Replace xls with xlsx (#7421)
  Use cache_key_with_version instead of cache version (#7532)
  Add support for ElectionGuard voting scheme (#7454)
  Fix record encryptor trying to decrypt empty strings (#7542)
  Revert "Don't schedule CI jobs for locales PRs (#7534)" (#7546)
  New Crowdin updates (#7540)
  New Crowdin updates (#7539)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants