Skip to content

Commit

Permalink
Merge pull request #395 from HewlettPackard/github_action_change
Browse files Browse the repository at this point in the history
create tag and release updated
  • Loading branch information
akshith-gunasheelan authored Jun 20, 2023
2 parents 8974244 + f29be26 commit f35ac90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/createtagandrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.event.pull_request.merged && startsWith(github.head_ref, 'PR') && startsWith(github.base_ref, 'master')
if: github.event.pull_request.merged && startsWith(github.head_ref, 'OV') && endsWith(github.head_ref, 'Validation') && startsWith(github.base_ref, 'master')
steps:
- uses: actions/checkout@v2
- name: Bump version and push tag
Expand All @@ -26,4 +26,4 @@ jobs:
name: ${{ steps.tag_and_prepare_release.outputs.new_tag }}
tag: ${{ steps.tag_and_prepare_release.outputs.new_tag }}
body: See the <a href="https://github.com/HewlettPackard/oneview-golang/blob/master/CHANGELOG.md">CHANGELOG.md</a> for details.
token: ${{secrets.GITHUB_TOKEN}}
token: ${{secrets.GITHUB_TOKEN}}

0 comments on commit f35ac90

Please sign in to comment.