We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c807200 commit 8607855Copy full SHA for 8607855
.github/main.workflow
@@ -1,8 +1,24 @@
1
-workflow "PSScriptAnalyzer" {
+workflow "script-analysis" {
2
resolves = ["analyze"]
3
on = "push"
4
}
5
6
+workflow "pr-script-analysis" {
7
+ on = "pull_request"
8
+ resolves = "analyze-pr"
9
+}
10
+
11
+action "filter-to-pr-open-synced" {
12
+ uses = "actions/bin/filter@master"
13
+ args = "action 'opened|synchronize'"
14
15
16
+action "analyze-pr" {
17
+ uses = "./analyze"
18
+ needs = "filter-to-pr-open-synced"
19
+ secrets = ["GITHUB_TOKEN"]
20
21
22
action "analyze" {
23
uses = "./analyze"
24
secrets = ["GITHUB_TOKEN"]
0 commit comments