From 6ccb6c3b2503647c8acd61f3537f82854fae1f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Thu, 4 Jul 2019 21:16:15 +0200 Subject: [PATCH] Support SKIP_UPDATED for excavator This will reduce log output --- Entrypoint.ps1 | 1 + README.md | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Entrypoint.ps1 b/Entrypoint.ps1 index 7a28a97..d695783 100644 --- a/Entrypoint.ps1 +++ b/Entrypoint.ps1 @@ -359,6 +359,7 @@ function Initialize-Scheduled { 'Push' = $true } if ($env:SPECIAL_SNOWFLAKES) { $params.Add('SpecialSnowflakes', ($env:SPECIAL_SNOWFLAKES -split ',')) } + if ($env:SKIP_UPDATED) { $params.Add('SkipUpdated', ([bool] $env:SKIP_UPDATED)) } & "$env:SCOOP_HOME\bin\auto-pr.ps1" @params # TODO: Post some comment?? diff --git a/README.md b/README.md index e410dcf..80d18c5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗ DO NOT USE YET. Wait for 1.0 tag releae ❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗ +

+❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗ DO NOT USE YET. Wait for 1.0.0 tag release ❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗ +

+ You could participate in testing using `@stable` version or any of already released tags from release page. # Github actions for scoop buckets @@ -67,7 +70,7 @@ workflow "Excavator" { } action "IssueHandler" { - uses = "Ash258/Scoop-GithubActions@master" + uses = "Ash258/Scoop-GithubActions@stable" args = "Issue" env = { "GITH_EMAIL" = "youremail@email.com" # Email is needed for pushing to repository within action container @@ -76,7 +79,7 @@ action "IssueHandler" { } action "PullRequestHandler" { - uses = "Ash258/Scoop-GithubActions@master" + uses = "Ash258/Scoop-GithubActions@stable" args = "PR" env = { "GITH_EMAIL" = "youremail@email.com" @@ -85,10 +88,11 @@ action "PullRequestHandler" { } action "Excavate" { - uses = "Ash258/Scoop-GithubActions@master" + uses = "Ash258/Scoop-GithubActions@stable" args = "Scheduled" env = { - "SPECIAL_SNOWFLAKES" = "curl,brotli,jx" # Optional parameter, + "SPECIAL_SNOWFLAKES" = "curl,brotli,jx" # Optional parameter + "SKIP_UPDATED" = "1" # Optional parameter, Could be anything as value "GITH_EMAIL" = "youremail@email.com" } secrets = ["GITHUB_TOKEN"]