diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2f6b8a8..538384a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,11 +1,6 @@ name: Assembly Documentation on: - pull_request: - branches: - - main - types: - - closed push: branches: - main @@ -16,8 +11,8 @@ env: jobs: buildfiles: - if: github.event.pull_request.merged == true name: Design check & documentation build + if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - name: Checkout code