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

Ability to set what the trigger for the status-check task is #5

Open
jacktomlinson opened this issue Jun 15, 2019 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@jacktomlinson
Copy link

jacktomlinson commented Jun 15, 2019

So currently the status check will refire with every action that is performed on the PR. The same for if you add a commit or update the title for example.

It would be nice if you could set in the metadata of each task what trigger you want this task to respond to.

For example if you have an NPM test status check, you could want that to trigger on every commit, but you probably wouldn't want to re run your tests if you just updated the title of the PR or added a label.

@boyney123
Copy link
Owner

Yeah good idea.

By default we could trigger by everything, but you can listen for certain things.

Example

{
  "title": "async-example",
  "description": "Async example of GitHub function",
  "trigger": ['created', 'edited']
}

@boyney123 boyney123 added the enhancement New feature or request label Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants