Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shijl0925 authored Jul 6, 2024
1 parent 92f2036 commit 51e577a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ name: Go

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]

jobs:

Expand Down Expand Up @@ -40,5 +38,11 @@ jobs:
run: |
cp -r sonarqube-gen/sonarqube ./
rm -rf sonarqube-gen/
git status
git diff
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
add-paths: |
*.go
**/*.go

0 comments on commit 51e577a

Please sign in to comment.