Searches Issues based on configured criteria and outputs the results as json per issue into an Artifact. Stacks with other actions that expect a set of Issues as an Artifact.
Install the dependencies
$ npm installBuild the typescript and package it for distribution
$ npm run build && npm run packRun the tests ✔️
$ npm run testSee action.yml For comprehensive list of options.
Basic:
name: "Search and output issues"on:
schedule:
- cron: "0 0 * * *"jobs:
search:
runs-on: ubuntu-lateststeps:
- uses: actions/IssueOutputAction@v1.0with:
repotoken: ${{ secrets.GITHUB_TOKEN }}searchquery: 'event hubs is:open'repoOwnerAndName: 'Azure/azure-sdk-for-net'Configure milestone filters (filter searched issues to only those associated to an open milestone with a due date in the future):
name: "Search and output issues"on:
schedule:
- cron: "0 0 * * *"jobs:
search:
runs-on: ubuntu-lateststeps:
- uses: actions/IssueOutputAction@v1.0with:
repotoken: ${{ secrets.GITHUB_TOKEN }}searchquery: 'event hubs is:open'repoOwnerAndName: 'Azure/azure-sdk-for-net'searchByAssociatedMilestoneState: 'open'searchByAssociatedMilestoneDueDate: 'future'To see debug output from this action, you must set the secret ACTIONS_STEP_DEBUG to true in your repository.