File tree 1 file changed +5
-1
lines changed
tasks/database-permissions
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
description : The directory where the scripts are located
6
6
required : true
7
7
target-database :
8
- description : The target database name to clone to
8
+ description : The target database name to apply permissions to
9
+ required : true
10
+ target-ownership :
11
+ description : The target ownership of the database
9
12
required : true
10
13
snowflake-account :
11
14
description : The Snowflake account name
29
32
- name : Find and replace the placeholders
30
33
run : |
31
34
sed -i 's/<<TARGET_DATABASE_NAME>>/${{ inputs.target-database }}/g' database-permissions.sql
35
+ sed -i 's/<<TARGET_OWNERSHIP_ROLE>>/${{ inputs.target-ownership }}/g' database-permissions.sql
32
36
shell : pwsh
33
37
working-directory : ${{ inputs.working-directory }}
34
38
- name : Download SnowSQL
You can’t perform that action at this time.
0 commit comments