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

Update action #41

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Update action #41

merged 3 commits into from
Dec 8, 2023

Conversation

aaron-weisberg-qz
Copy link
Contributor

@aaron-weisberg-qz aaron-weisberg-qz commented Dec 5, 2023

Background

Our new argocd app don't actually specify a targetRevision but instead rely on the default HEAD.

Modifications

  • Changes the app filtering function to also include empty targetRevision in-addition to master or main
  • Deletes outdated diff comments on the PR before posing the new one to keep things looking tidy

@karoun
Copy link
Member

karoun commented Dec 6, 2023

I'm not quite following this PR. Seems like it allows apps to not specify their deployed versions, in favor of always using the latest HEAD from their respective repos?

@aaron-weisberg-qz
Copy link
Contributor Author

I'm not quite following this PR. Seems like it allows apps to not specify their deployed versions, in favor of always using the latest HEAD from their respective repos?

Yes, that's correct. Our ArgoCD apps in the new cluster rely on the default HEAD and don't specify the targetRevision. As a result this diff actions hasn't been working until testing it out with this change.

The other change is just to delete old diff comments before posting the new one.

@aaron-weisberg-qz aaron-weisberg-qz merged commit 0c37713 into master Dec 8, 2023
0 of 2 checks passed
@aaron-weisberg-qz aaron-weisberg-qz deleted the update-action branch December 8, 2023 17:39
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.

4 participants