Skip to content

Commit

Permalink
TEST-1234 Fix condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther-tietoevry committed Oct 20, 2023
1 parent d44383e commit 959a922
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/promotion-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,18 @@ jobs:
fi
- uses: actions/checkout@v4
if: ${{ !steps.check.outputs.skip }}
if: ${{ steps.check.outputs.skip == 'false' }}
with:
ref: dev

- name: Reset promotion branch
if: ${{ !steps.check.outputs.skip }}
if: ${{ steps.check.outputs.skip == 'false' }}
run: |
git fetch origin ${{ github.ref }}:${{ github.ref }}
git reset --hard ${{ github.ref }}
- name: Create Pull Request
if: ${{ !steps.check.outputs.skip }}
if: ${{ steps.check.outputs.skip == 'false' }}
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
Expand Down

0 comments on commit 959a922

Please sign in to comment.