Skip to content

Commit

Permalink
Merge pull request #3747 from valadas/filter-rc-action
Browse files Browse the repository at this point in the history
Limit rc action to run only on release branches
  • Loading branch information
valadas authored May 7, 2020
2 parents 6770b99 + e3e62ee commit 4e2b45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/updateVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on: create
jobs:
updateVersions:
runs-on: ubuntu-latest
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
steps:
- uses: actions/checkout@v2

- name: Get the release branch version
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
uses: valadas/get-release-branch-version@v1
id: branchVersion

Expand Down

0 comments on commit 4e2b45d

Please sign in to comment.