Skip to content

Commit

Permalink
Remove pull request action
Browse files Browse the repository at this point in the history
It looks like merging a pull request generates a push, so we shouldn't need to trigger this action on pull requests at all.
  • Loading branch information
ionthegeek authored Apr 21, 2023
1 parent aa7a9c1 commit 0f6c8b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ name: Go
on:
push:
branches: [ "master" ]
pull_request:
types: [ closed ]
branches: [ "master" ]

jobs:

build:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 0f6c8b5

Please sign in to comment.