Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
Support SKIP_UPDATED for excavator
Browse files Browse the repository at this point in the history
This will reduce log output
  • Loading branch information
Ash258 committed Jul 4, 2019
1 parent cf357ca commit 6ccb6c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions Entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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??
Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗ DO NOT USE YET. Wait for 1.0 tag releae ❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗
<p align="center">
❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗ DO NOT USE YET. Wait for 1.0.0 tag release ❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗
</p>

You could participate in testing using `@stable` version or any of already released tags from release page.

# Github actions for scoop buckets
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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"]
Expand Down

0 comments on commit 6ccb6c3

Please sign in to comment.