Port: Add .gitattributes
to fix prettier behavior on Windows
#335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CI | |
on: | |
push: | |
branches: | |
- 'main' # Default branch | |
- 'feature-**' # Feature branches | |
pull_request: | |
branches: | |
- 'main' # Default branch | |
- 'feature-**' # Feature branches | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
call-build: | |
uses: ./.github/workflows/_meta-build.yaml | |
with: | |
app-version: 'snapshot' | |
publish-container: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'feature-') }} | |
ref-name: ${{ github.ref_name }} | |
permissions: | |
packages: write # Required to push images to ghcr.io | |
security-events: write # Required to upload trivy's SARIF output | |
secrets: | |
registry-0-usr: ${{ github.repository_owner }} | |
registry-0-psw: ${{ secrets.GITHUB_TOKEN }} |