Skip to content

Commit

Permalink
ci: add branch info + limit build to main/tags and PR (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-buiquang authored Jul 1, 2024
1 parent e1fc1fa commit fdfb105
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: build

on:
pull_request:
branches:
- '*'
push:
branches:
- "**"
- main
tags:
- "**"
- '*'

jobs:
build:
Expand Down Expand Up @@ -47,6 +51,7 @@ jobs:
-Dsonar.organization=aphp
-Dsonar.projectKey=aphp_Cohort360-QueryExecutor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

publish:
Expand Down

0 comments on commit fdfb105

Please sign in to comment.