docs: remove push event

This commit is contained in:
LouisShark 2023-12-11 21:56:17 +08:00
parent 94681a2fa4
commit 0d947ba50a

View file

@ -12,7 +12,7 @@ on:
jobs:
run-script:
runs-on: ubuntu-latest
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event.pull_request.merged == true && github.base_ref == 'main')
if: github.event.pull_request.merged == true && github.base_ref == 'main'
steps:
- name: Checkout repository
uses: actions/checkout@v3