Skip to content

Commit

Permalink
ci: fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sahani-deriv committed Jun 28, 2024
1 parent 31b2e4a commit f4b45ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check_versioning_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,22 @@ jobs:
console.log("No version bump pull request found.");
}
- name: Delete PR if comment exists
- name: Delete comment if exists
uses: izhangzhihao/delete-comment@d075704468e1cf74e60944d9f335351213c34d85
with:
github_token: ${{ secrets.PAT }}
delete_user_name: mobile-apps-deriv
issue_number: ${{ github.event.number }}

- name: Comment if PR exists
- name: Comment if versioning PR exists
if: ${{ contains(steps.check-pr.outputs.VERSIONING_PR_EXISTS, 'true') }}
uses: marocchino/sticky-pull-request-comment@4b7290acd5c5b99ef9995db30e52150e705d2475
with:
GITHUB_TOKEN: ${{ secrets.PAT }}
message: |
**Merge Is BLOCKED : we still have a chore(version) pr open, please merge that pr first **
- name: Fail if PR exists
- name: Fail if versioning PR exists
if: ${{ contains(steps.check-pr.outputs.VERSIONING_PR_EXISTS, 'true') }}
run: |
echo "A PR with the title 'chore(version)' already exists. Exiting."
Expand Down

0 comments on commit f4b45ae

Please sign in to comment.