Skip to content

Commit

Permalink
Merge pull request #68 from digma-ai/fix/default-branch
Browse files Browse the repository at this point in the history
Change default branch to main
  • Loading branch information
kshmidt-digma authored Dec 15, 2024
2 parents 7b558ac + 2e4f304 commit e52370c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/digma-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
# set latest tag for digma branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'digma') }}
# set latest tag for main branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build and push
uses: docker/build-push-action@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/digma-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Lint & test & build
on:
push:
branches:
- 'digma'
- 'main'
# Github Actions don't support YAML anchors yet, so we have to repeat
# the paths-ignore in both push and pull_request events.
# More info: https://github.com/actions/runner/issues/1182
Expand All @@ -16,7 +16,7 @@ on:
- 'LICENSE'
pull_request:
branches:
- 'digma'
- 'main'
paths-ignore:
- '.vscode/**'
- '.prettierignore'
Expand Down

0 comments on commit e52370c

Please sign in to comment.