Skip to content

Commit

Permalink
Merge pull request #122 from openedx/cag/release-workflow-v3
Browse files Browse the repository at this point in the history
build: fix use correct branch destination
  • Loading branch information
Ian2012 authored Jun 29, 2023
2 parents 8761ade + 3ea522f commit b47bc95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
types:
- closed
branches:
- bot/v*
- main

jobs:
release:
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'bot/v')
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit b47bc95

Please sign in to comment.