Skip to content

Commit

Permalink
chore: use branch name in the workflows
Browse files Browse the repository at this point in the history
Signed-off-by: gatici <gulsum.atici@canonical.com>
  • Loading branch information
gatici committed Sep 26, 2024
1 parent 9d699a0 commit 9c990a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Main branch CI
name: v1.4 branch CI

on:
pull_request:
branches:
- main
- v1.4

push:
schedule:
Expand All @@ -22,6 +22,6 @@ jobs:
uses: ./.github/workflows/integration_tests.yaml

publish:
if: github.ref_name == 'main'
if: ${{ github.ref_name == 'v1.4' }}
needs: integration-tests
uses: ./.github/workflows/publish.yaml
uses: ./.github/workflows/publish.yaml

0 comments on commit 9c990a3

Please sign in to comment.