Skip to content

Commit b8364f7

Browse files
committed
ci: fix permission set assignment
1 parent 2539390 commit b8364f7

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/ci-pr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,11 @@ jobs:
187187
- name: 'Push source to scratch org'
188188
run: sf project deploy start
189189

190-
# Assign permissionset
191-
- name: 'Assign permissionset to default user'
192-
run: sf org assign permset -n Agent_Script_Recipes
190+
# Assign permission sets
191+
- name: 'Assign permission sets to default user'
192+
run: |
193+
sf org assign permset -n Agent_Script_Recipes_Data
194+
sf org assign permset -n Agent_Script_Recipes_App
193195
194196
# Import sample data
195197
- name: 'Import sample data'

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,11 @@ jobs:
116116
- name: 'Push source to scratch org'
117117
run: sf project deploy start
118118

119-
# Assign permissionset
120-
- name: 'Assign permissionset to default user'
121-
run: sf org assign permset -n Agent_Script_Recipes
119+
# Assign permission sets
120+
- name: 'Assign permission sets to default user'
121+
run: |
122+
sf org assign permset -n Agent_Script_Recipes_Data
123+
sf org assign permset -n Agent_Script_Recipes_App
122124
123125
# Import sample data
124126
- name: 'Import sample data'

0 commit comments

Comments
 (0)