Skip to content

Commit

Permalink
Run on pull request events, skip on merge groups
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed Sep 18, 2024
1 parent f619e19 commit 4928a94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: Validate Go Mod Files

on:
pull_request:
merge_group:

jobs:
go-mod-validation:
name: Validate go.mod dependencies
runs-on: ubuntu-latest
# Skip on merge group events
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Validate go.mod
Expand Down

0 comments on commit 4928a94

Please sign in to comment.