Skip to content

Commit

Permalink
chore(operator): correct branch name on release-please workflows (#12573
Browse files Browse the repository at this point in the history
)
  • Loading branch information
JoaoBraveCoding authored Apr 11, 2024
1 parent 50fc13c commit 3e6b946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/operator-check-prepare-release-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
paths:
- 'operator/**'
branches:
- master
- main

jobs:
check-commit:
runs-on: ubuntu-latest
if: |
github.event.pull_request.head.ref == 'release-please--branches--master--components--operator' &&
github.event.pull_request.head.ref == 'release-please--branches--main--components--operator' &&
contains(github.event.pull_request.title, 'chore( operator): community release')
steps:
- name: Extract release version
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: master
ref: main
path: "release"

- name: Check main commits for prepare release commit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/operator-release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
paths:
- 'operator/**'
branches:
- master
- main

permissions:
contents: write
Expand Down

0 comments on commit 3e6b946

Please sign in to comment.