Skip to content

Commit f201d7c

Browse files
Joris29bastelfreak
authored andcommitted
Add allowed_owner setting to avoid changes on fork
1 parent ff46c5c commit f201d7c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

moduleroot/.github/workflows/prepare_release.yml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
version: ${{ github.event.inputs.version }}
2323
<%- unless @configs['with']&.has_key?('allowed_owner') -%>
24-
allowed_owner: '<%= @configs[:namespace] %>'
24+
allowed_owner: '<%= @configs['allowed_owner'] || @configs[:namespace] %>'
2525
<%- end -%>
2626
secrets:
2727
# Configure secrets here:

moduleroot/.github/workflows/release.yml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
<%- end -%>
2929
<%- end -%>
3030
<%- unless @configs['with']&.has_key?('allowed_owner') -%>
31-
allowed_owner: '<%= @configs[:namespace] %>'
31+
allowed_owner: '<%= @configs['allowed_owner'] || @configs[:namespace] %>'
3232
<%- end -%>
3333
secrets:
3434
# Configure secrets here:

0 commit comments

Comments
 (0)