Skip to content

Commit

Permalink
Merge pull request #187 from ror-community/staging
Browse files Browse the repository at this point in the history
fix permission check on dump index actions
  • Loading branch information
lizkrznarich authored Jan 23, 2025
2 parents c496c2a + ff5cb4b commit 2a88cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod_index_dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: output
run: |
export role_name=${{ fromJson(steps.get_permission.outputs.data).role_name }}
if [[ "$role_name" == "admin" ]]; then
if [[ "$role_name" == "maintain" || "$role_name" == "admin" ]]; then
exit 0
else
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging_index_dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: output
run: |
export role_name=${{ fromJson(steps.get_permission.outputs.data).role_name }}
if [[ "$role_name" == "admin" ]]; then
if [[ "$role_name" == "maintain" || "$role_name" == "admin" ]]; then
exit 0
else
exit 1
Expand Down

0 comments on commit 2a88cfa

Please sign in to comment.