Skip to content

Commit

Permalink
Add 'next' branch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
killij committed Nov 21, 2023
1 parent befeec6 commit 9fb8f5b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 48 deletions.
1 change: 1 addition & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- next

permissions:
contents: read # for checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: echo "IMAGE_TAGS=${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LOWER }}:${{ env.RELEASE_TAG }}" >> $GITHUB_ENV

- name: Add latest tag if we're not production release
if: contains(env.RELEASE_TAG, 'pre')
if: contains(env.RELEASE_TAG, 'next')
run: echo "IMAGE_TAGS=${IMAGE_TAGS},${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LOWER }}:latest" >> $GITHUB_ENV

#debug
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: .NET Test

on:
pull_request:
branches: [ "master", "main" ]
branches: [ "main", "next" ]

jobs:
test:
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/end-to-end-test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
on:
pull_request:
branches:
- master
- main
- next
jobs:
code-analysis:
name: Static code analysis
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Terraform Format'

on:
pull_request:
branches: [ "master", "main" ]
branches: [ "main". "next" ]

jobs:
terraform-fmt:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-tflint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Terraform TFLint'

on:
pull_request:
branches: [ "master", "main" ]
branches: [ "main", "next" ]

jobs:
terraform-tflint:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branches": ["main"],
"branches": ["main", { "name": "next", "prerelease": true }],
"dryRun": false,
"ci": true,
"plugins": [
Expand Down

0 comments on commit 9fb8f5b

Please sign in to comment.