CircleCI Ideas

Provide Github Labels for Filtering

We'd really like to access github labels in a ignore/only filter statement (similar to git tags). This would allow us to:

 

  • Mark PRs that shouldn't be built at all (effectively preventing the PR from being merged)
  • Mark PRs to build and unit test, but skip the integration tests
  • Mark PRs for deployment to a specific staging environment

IMO, that would improve circleci's capabilities in multi stage deployment scenarios.

 

And, this has already been proposed here: https://discuss.circleci.com/t/tag-label-filter/11158

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Mar 6 2018
  • Taking votes
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 27, 2018 21:46

    AirMap's is looking for a similar use case for Github Labels. They would like to restrict workloads based on labels being used. 

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    20 Sep 12:42

    Came here for this. I recently made a python script that creates and pushes a git tag that starts with "feature-", which CI deploy scripts use to create and update feature branch deployments. But wouldn't it be so much easier if Circle CI detected when a PR is labeled with something like `feature-branch-deploy`?