Skip to content

Commit 1ef9c25

Browse files
committed
Check if the user is authorized in the deploy action.
1 parent d5df1d8 commit 1ef9c25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy-to-wp-org.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14+
# Security: 1. Check if user is authorized.
15+
if: contains(fromJson('["kagg-design", "e271828-"]'), github.actor)
16+
1417
env:
1518
SLUG: "hcaptcha-for-forms-and-more"
1619

0 commit comments

Comments
 (0)