Skip to content

Commit

Permalink
limit action to admin role
Browse files Browse the repository at this point in the history
  • Loading branch information
lizkrznarich committed Feb 23, 2024
1 parent bbc6bc8 commit 373c2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dev_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" == "maintain" || "$role_name" == "admin" ]]; then
if [[ "$role_name" == "admin" ]]; then
exit 0
else
exit 1
Expand Down

0 comments on commit 373c2d4

Please sign in to comment.