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

[BUGFIX] Utiliser les commits entre les 2 releases pour afficher une notification de changement de config lors du déploiement #137

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

VincentHardouin
Copy link
Member

🦄 Problème

Actuellement, lors de la MEP d'une release un message de modification du fichier de config peut-être affichée si un commit a modifié le fichier entre la release et le dernier commit sur dev.

Cependant, une MEP correspond à la mise en production d'une release créé pendant la MER.

🤖 Solution

  • Utiliser les bons commits pour déterminer sur un changement sur le fichier config a été fait.

🌈 Remarques

Des infos supplémentaires, trucs et astuces ?

💯 Pour tester

  • CI

@VincentHardouin VincentHardouin added cross-team Toutes les équipes de dev Tech Review Needed labels Aug 5, 2022
@VincentHardouin VincentHardouin self-assigned this Aug 5, 2022
},
}
});

nock('https://api.github.com')
.get('/repos/github-owner/github-repository/commits?since=2011-04-14&path=api%2Flib%2Fconfig.js')
.filteringPath(/since=\d{4}-\d{2}-\d{2}T\d{2}%3A\d{2}%3A\d{2}.\d{3}Z&until=\d{4}-\d{2}-\d{2}T\d{2}%3A\d{2}%3A\d{2}.\d{3}Z/g, 'since=XXXX&until=XXXX')
Copy link
Member

Choose a reason for hiding this comment

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

🤯

Copy link
Member Author

Choose a reason for hiding this comment

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

L'enfer mdr

Copy link
Member

@yannbertrand yannbertrand left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@github-actions github-actions bot merged commit 35f674b into main Aug 8, 2022
@github-actions github-actions bot deleted the fix-config-change-notification branch August 8, 2022 09:46
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.

3 participants