Drone Agent 8.0 build filtering not working

I’m trying out the 8.0 agent build filtering using DRONE_FILTER, and I can’t get it to work. (https://github.com/drone/drone/issues/2171)

I think the issue is command line flag was update from “drone-filter” to “filter”

But, agent.go loop func is reading “drone-filter”

please subscribe to https://github.com/drone/drone/pull/2244

@gvishnutej hey, any chance you could share with us how you use the agent filtering? No one seems to know Drone agent filtering