Skip to content

Commit

Permalink
fix: fixing pr close
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Gomes da Cruz Junior committed Feb 24, 2023
1 parent f1db5f1 commit 6aa607a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
types:
- closed

env:
NAME: nrog

concurrency:
# PR open and close use the same group, allowing only one at a time
group: pr-${{ github.ref }}
Expand All @@ -26,7 +23,7 @@ jobs:
oc login --token=${{ secrets.OC_TOKEN }} --server=${{ secrets.OC_SERVER }}
oc project ${{ secrets.OC_NAMESPACE }}
# Remove old build runs, build pods and deployment pods
oc delete all,pvc,secret,cm -l app=${{ env.NAME }}-${{ github.event.number }}
oc delete all,pvc,secret,cm -l app=${{ github.event.repository.name }}-${{ github.event.number }}
image-promotions:
name: Image Promotions
Expand Down

0 comments on commit 6aa607a

Please sign in to comment.