meta: convert workflow file to GitHub Actions v2 yml syntax

This commit is contained in:
Marc Cornellà 2019-08-13 14:15:14 +02:00
commit d8ad4e902c
2 changed files with 14 additions and 17 deletions

View file

@ -0,0 +1,14 @@
on: pull_request
name: Triage Pull Request
jobs:
mainJob:
name: Triage
if: github.event.action == 'opened' || github.event.action == 'synchronize'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Analyze and triage
uses: ohmyzsh/github-actions/pull-request-triage@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}