summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-08-13 14:15:14 +0200
committerMarc Cornellà <marc.cornella@live.com>2019-08-13 14:15:14 +0200
commitd8ad4e902cd359cf0a58cc8fc759377ec3d3c026 (patch)
tree17ecca71905fe27acf83ca520d389365a7a15330 /.github/workflows
parent40fafe0f59371d1a9d83b83c614acfd1d740aabb (diff)
downloadzsh-d8ad4e902cd359cf0a58cc8fc759377ec3d3c026.tar.gz
zsh-d8ad4e902cd359cf0a58cc8fc759377ec3d3c026.tar.bz2
zsh-d8ad4e902cd359cf0a58cc8fc759377ec3d3c026.zip
meta: convert workflow file to GitHub Actions v2 yml syntax
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pull_request_triage.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/pull_request_triage.yml b/.github/workflows/pull_request_triage.yml
new file mode 100644
index 000000000..341298a0f
--- /dev/null
+++ b/.github/workflows/pull_request_triage.yml
@@ -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 }}