diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index d77d3a0..dd911f3 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,7 +1,7 @@ name: TagBot on: schedule: - - cron: 0 * * * * + - cron: 0 0 * * * jobs: TagBot: runs-on: ubuntu-latest diff --git a/src/plugins/tagbot.jl b/src/plugins/tagbot.jl index 5f1cad4..53b7ca9 100644 --- a/src/plugins/tagbot.jl +++ b/src/plugins/tagbot.jl @@ -2,7 +2,7 @@ TagBot(; file="$(contractuser(default_file("github", "workflows", "TagBot.yml")))", destination="TagBot.yml", - cron="0 * * * *", + cron="0 0 * * *", token=Secret("GITHUB_TOKEN"), ssh=nothing, ssh_password=nothing, @@ -37,7 +37,7 @@ Adds GitHub release support via [TagBot](https://github.com/JuliaRegistries/TagB @with_kw_noshow struct TagBot <: BasicPlugin file::String = default_file("github", "workflows", "TagBot.yml") destination::String = "TagBot.yml" - cron::String = "0 * * * *" + cron::String = "0 0 * * *" token::Secret = Secret("GITHUB_TOKEN") ssh::Union{Secret, Nothing} = nothing ssh_password::Union{Secret, Nothing} = nothing diff --git a/test/fixtures/AllPlugins/.github/workflows/TagBot.yml b/test/fixtures/AllPlugins/.github/workflows/TagBot.yml index d77d3a0..dd911f3 100644 --- a/test/fixtures/AllPlugins/.github/workflows/TagBot.yml +++ b/test/fixtures/AllPlugins/.github/workflows/TagBot.yml @@ -1,7 +1,7 @@ name: TagBot on: schedule: - - cron: 0 * * * * + - cron: 0 0 * * * jobs: TagBot: runs-on: ubuntu-latest diff --git a/test/fixtures/Basic/.github/workflows/TagBot.yml b/test/fixtures/Basic/.github/workflows/TagBot.yml index d77d3a0..dd911f3 100644 --- a/test/fixtures/Basic/.github/workflows/TagBot.yml +++ b/test/fixtures/Basic/.github/workflows/TagBot.yml @@ -1,7 +1,7 @@ name: TagBot on: schedule: - - cron: 0 * * * * + - cron: 0 0 * * * jobs: TagBot: runs-on: ubuntu-latest diff --git a/test/fixtures/DocumenterGitHubActions/.github/workflows/TagBot.yml b/test/fixtures/DocumenterGitHubActions/.github/workflows/TagBot.yml index d77d3a0..dd911f3 100644 --- a/test/fixtures/DocumenterGitHubActions/.github/workflows/TagBot.yml +++ b/test/fixtures/DocumenterGitHubActions/.github/workflows/TagBot.yml @@ -1,7 +1,7 @@ name: TagBot on: schedule: - - cron: 0 * * * * + - cron: 0 0 * * * jobs: TagBot: runs-on: ubuntu-latest diff --git a/test/fixtures/DocumenterTravis/.github/workflows/TagBot.yml b/test/fixtures/DocumenterTravis/.github/workflows/TagBot.yml index d77d3a0..dd911f3 100644 --- a/test/fixtures/DocumenterTravis/.github/workflows/TagBot.yml +++ b/test/fixtures/DocumenterTravis/.github/workflows/TagBot.yml @@ -1,7 +1,7 @@ name: TagBot on: schedule: - - cron: 0 * * * * + - cron: 0 0 * * * jobs: TagBot: runs-on: ubuntu-latest diff --git a/test/show.jl b/test/show.jl index 718ef70..992b843 100644 --- a/test/show.jl +++ b/test/show.jl @@ -44,7 +44,7 @@ const LICENSES_DIR = joinpath(TEMPLATES_DIR, "licenses") TagBot: file: "$(joinpath(TEMPLATES_DIR, "github", "workflows", "TagBot.yml"))" destination: "TagBot.yml" - cron: "0 * * * *" + cron: "0 0 * * *" token: Secret("GITHUB_TOKEN") ssh: nothing ssh_password: nothing