Skip to content

Commit 30439e4

Browse files
committed
TEST release-notes workflow
1 parent e8f9974 commit 30439e4

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/release-notes.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ jobs:
2626
- "8.2-alpine3.22"
2727
- "8.3-alpine3.22"
2828
- "8.4-alpine3.22"
29+
2930
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
3034
- name: 🔎 Find Last & Previous Runs for ${{ matrix.image_tag }}
3135
id: find_runs
3236
run: |
@@ -43,10 +47,10 @@ jobs:
4347
4448
if [[ "$JOB_EXISTS" == "true" ]]; then
4549
if [[ -z "$LATEST_RUN_ID" ]]; then
46-
LATEST_RUN_ID=$RUN_ID # Found the first (latest) match.
50+
LATEST_RUN_ID=$RUN_ID
4751
elif [[ -z "$PREVIOUS_RUN_ID" ]]; then
48-
PREVIOUS_RUN_ID=$RUN_ID # Found the second (previous) match.
49-
break # We have both IDs we need, so we can stop searching.
52+
PREVIOUS_RUN_ID=$RUN_ID
53+
break
5054
fi
5155
fi
5256
done
@@ -112,7 +116,6 @@ jobs:
112116
- name: ✍️ Extract PR Sections
113117
id: extract
114118
run: |
115-
# The body of the found PR is used here
116119
PR_BODY='${{ steps.pr-info.outputs.body }}'
117120
IMPROVEMENTS=$(echo "$PR_BODY" | awk '/### Improvements/{flag=1;next}/###/{flag=0}flag')
118121
echo "improvements<<EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)