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

github/ci: Dont trigger command workflow for bots #27272

Merged
merged 1 commit into from
May 10, 2023

Conversation

phlax
Copy link
Member

@phlax phlax commented May 9, 2023

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: Ryan Northey <ryan@synca.io>
github.event.issue.pull_request
&& github.repository == 'envoyproxy/envoy'
&& github.actor != 'repokitteh-read-only[bot]'
&& github.actor != 'dependabot[bot]'
Copy link
Member Author

Choose a reason for hiding this comment

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

i think these conditions should work correctly - but not 100% - would be good to exclude all bots

Copy link
Member

Choose a reason for hiding this comment

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

because AND is use here, so seems this new condition is more strict?

Copy link
Member Author

@phlax phlax May 10, 2023

Choose a reason for hiding this comment

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

yep - prs only, ~no bots

@phlax
Copy link
Member Author

phlax commented May 10, 2023

for ref its reducing the footprint here https://github.com/envoyproxy/envoy/actions/workflows/commands.yml

there is already some contention (wait to see how long before this comment pops up ... argh - it was quick - the bots heard me)

im starting to move some jobs out of azp - partly to reduce contention there and partly because that is the plan (cf #27294 ) so the more we can prevent waste on the machines the better

@phlax
Copy link
Member Author

phlax commented May 10, 2023

relatedly this probably would be better to do with rk cc @itayd

@phlax
Copy link
Member Author

phlax commented May 10, 2023

@wbpcode im gonna push this through - the ci passed but is messed up here not sure why - i think unrelated

i do want to test this on postsubmit tho - so will watch/fix etc now

@phlax phlax merged commit 0642d62 into envoyproxy:main May 10, 2023
@phlax
Copy link
Member Author

phlax commented May 10, 2023

my first question is what happens on closed prs

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Check envoy-presubmit didn't fail.

🐱

Caused by: a #27272 (comment) was created by @phlax.

see: more, trace.

@phlax
Copy link
Member Author

phlax commented May 10, 2023

i think both triggered - altho only rk posted here - probably we want to add the pr state to the condition

@phlax
Copy link
Member Author

phlax commented May 10, 2023

hmm - this didnt work exactly - its probably made it faster - it only skips the job now but still sets itself up

wbpcode pushed a commit to wbpcode/envoy that referenced this pull request May 16, 2023
reskin89 pushed a commit to reskin89/envoy that referenced this pull request Jul 11, 2023
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Eskin <ryan.eskin89@protonmail.com>
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.

2 participants