Skip to content

Commit 70608f6

Browse files
authored
fix(ci): promotions not always triggering (#34)
1 parent 1f1beb5 commit 70608f6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/.pr-close.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,15 @@ jobs:
6868
- run: |
6969
# Diagnostic vars
7070
echo "packages=$(jq -cn '$ARGS.positional' --args ${{ inputs.packages }})"
71-
echo "github.event.pull_request.merged = ${{ github.event.pull_request.merged }}"
72-
echo "github.event.pull_request.base.ref = ${{ github.event.pull_request.base.ref }}"
71+
echo "github.event.pull_request.merged=${{ github.event.pull_request.merged }}"
72+
echo "github.event.pull_request.base.ref=${{ github.event.pull_request.base.ref }}"
73+
echo "retag check:"
74+
echo " github.event.pull_request.merged == 'true' && github.event.pull_request.base.ref"
75+
echo " => ${{ github.event.pull_request.merged == 'true' && github.event.pull_request.base.ref == inputs.merge_branch }}"
7376
7477
retags:
7578
name: Retags
76-
if: github.event.pull_request.merged == 'true' && github.event.pull_request.base.ref == inputs.merge_branch
79+
if: ${{ github.event.pull_request.merged == 'true' && github.event.pull_request.base.ref == inputs.merge_branch }}
7780
needs: vars
7881
runs-on: ubuntu-22.04
7982
permissions:

0 commit comments

Comments
 (0)