Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
d8ad4e90
Commit
d8ad4e90
authored
Aug 13, 2019
by
Marc Cornellà
Browse files
meta: convert workflow file to GitHub Actions v2 yml syntax
parent
40fafe0f
Changes
2
Show whitespace changes
Inline
Side-by-side
.github/main.workflow
deleted
100644 → 0
View file @
40fafe0f
workflow "Triage Pull Request" {
on = "pull_request"
resolves = ["Triage"]
}
# Only act if there are code changes: if the pull_request
# event's action is either 'opened' (new PR) or 'synchronize' (new commits)
action "Filter actions" {
uses = "actions/bin/filter@0ac6d44"
args = "action 'opened|synchronize'"
}
action "Triage" {
needs = ["Filter actions"]
uses = "ohmyzsh/github-actions/pull-request-triage@master"
secrets = ["GITHUB_TOKEN"]
}
.github/workflows/pull_request_triage.yml
0 → 100644
View file @
d8ad4e90
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 }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment