Skip to content
This repository was archived by the owner on Nov 11, 2019. It is now read-only.

staticanalysis/bot: Check a path is in revision before publishing in before/after#2006

Merged
La0 merged 2 commits into
mozilla:masterfrom
La0:fix-2005
Mar 29, 2019
Merged

staticanalysis/bot: Check a path is in revision before publishing in before/after#2006
La0 merged 2 commits into
mozilla:masterfrom
La0:fix-2005

Conversation

@La0
Copy link
Copy Markdown
Contributor

@La0 La0 commented Mar 28, 2019

Fixes #2005.

Will certainly allow for a push to prod.

if settings.publication == Publication.BEFORE_AFTER:
# Simply use marker set on workflow
return self.is_new
# and check the revision contains the file
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you expand the comment explaining that it is needed for Phab?

@La0 La0 merged commit ef5a7e8 into mozilla:master Mar 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants