Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from nextcloud/skjnldsv-patch-1
Test actions
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
workflow "On comment" { | ||
resolves = ["Status"] | ||
on = "issue_comment" | ||
} | ||
|
||
action "Is pull request" { | ||
uses = "actions/bin/filter@master" | ||
args = "branch *" | ||
} | ||
|
||
action "Check command" { | ||
needs = "Is pull request" | ||
uses = "actions/bin/filter@master" | ||
args = "issue_comment build and commit /*" | ||
} | ||
|
||
action "Npm install" { | ||
needs = "Check command" | ||
uses = "actions/npm@master" | ||
args = "install" | ||
} | ||
|
||
action "Npm build" { | ||
needs = "Npm install" | ||
uses = "actions/npm@master" | ||
args = "run build" | ||
} | ||
|
||
action "Status" { | ||
needs = "Npm build" | ||
uses = "srt32/git-actions@v0.0.3" | ||
args = "git status" | ||
} |