update main.yml

fix potential workflow vulnerability
This commit is contained in:
Raymond Wang 2022-10-22 12:47:16 -07:00
parent 1d9072030e
commit f3f6ddc8ae

View file

@ -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: