update main.yml
fix potential workflow vulnerability
This commit is contained in:
parent
1d9072030e
commit
f3f6ddc8ae
1 changed files with 5 additions and 3 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -6,8 +6,10 @@ name: Deploy Site
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
# The below rule invokes when ANY pull request is made to main
|
||||
# This is DANGEROUS and can allow for malicious behavior
|
||||
# pull_request:
|
||||
# branches: [main]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
|
Loading…
Reference in a new issue