Skip to content

Commit ce252b2

Browse files
committed
fix ASF update action replacements
1 parent 9284ffd commit ce252b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/asf-updates.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
5757
# Store a (multiline-sanitized) list of changed services (compared to the master) in the GitHub Action output "changed-services"
5858
echo "changed-services<<EOF" >> $GITHUB_OUTPUT
59-
echo "$(git diff --name-only origin/master localstack/aws/api/ | sed 's#localstack/aws/api/#- #g' | sed 's#/__init__.py##g' | sed 's/_/-/g' | sed -z 's/\n/%0A/g' | sed -z 's/\r/%0D/g')" >> $GITHUB_OUTPUT
59+
echo "$(git diff --name-only origin/master localstack/aws/api/ | sed 's#localstack/aws/api/#- #g' | sed 's#/__init__.py##g' | sed 's/_/-/g')" >> $GITHUB_OUTPUT
6060
echo "EOF" >> $GITHUB_OUTPUT
6161
6262
- name: Read PR markdown template
@@ -69,8 +69,7 @@ jobs:
6969
- name: Add changed services to template
7070
if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
7171
id: markdown
72-
# TODO upgrade after https://github.com/mad9000/actions-find-and-replace-string/pull/11 has been released
73-
uses: mad9000/actions-find-and-replace-string@2
72+
uses: mad9000/actions-find-and-replace-string@4
7473
with:
7574
source: ${{ steps.template.outputs.content }}
7675
find: '{{ SERVICES }}'

0 commit comments

Comments
 (0)