Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PkgTemplates"
uuid = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"
authors = ["Chris de Graaf", "Invenia Technical Computing Corporation"]
version = "0.7.55"
version = "0.7.56"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
5 changes: 5 additions & 0 deletions templates/github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ permissions:
statuses: read
jobs:
TagBot:
{{#REGISTRY}}
if: github.event_name == 'workflow_dispatch' || github.actor == '{{{TRIGGER}}}' || (github.event_name == 'repository_dispatch' && github.event.client_payload.repository == '{{{REGISTRY}}}')
{{/REGISTRY}}
{{^REGISTRY}}
if: github.event_name == 'workflow_dispatch' || github.actor == '{{{TRIGGER}}}'
{{/REGISTRY}}
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/WackyOptions/.github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'OtherUser'
if: github.event_name == 'workflow_dispatch' || github.actor == 'OtherUser' || (github.event_name == 'repository_dispatch' && github.event.client_payload.repository == 'Foo/Bar')
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
Expand Down
Loading