Skip to content

Commit

Permalink
Fix invalid path to replace-string action
Browse files Browse the repository at this point in the history
  • Loading branch information
mikogs committed Nov 8, 2023
1 parent 37610b8 commit e04066b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test-upstream-merge/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ runs:
echo "merge-base=${merge_base}" >> $GITHUB_OUTPUT
- name: Create PR body
uses: Cardinal-Cryptography/replace-string@v3
uses: Cardinal-Cryptography/github-actions/replace-string@v3
with:
read-from-file: ${{ github.action_path }}/pr-body.txt
write-to-file: pr-body-to-add.txt
Expand All @@ -181,7 +181,7 @@ runs:
${{ steps.get-merge-base.outputs.merge-base }}
- name: Replace newline chars
uses: Cardinal-Cryptography/replace-string@v3
uses: Cardinal-Cryptography/github-actions/replace-string@v3
id: pr-body-for-json
with:
read-from-file: pr-body-to-add.txt
Expand All @@ -190,7 +190,7 @@ runs:
replace-with: \\n

- name: Create JSON payload
uses: Cardinal-Cryptography/replace-string@v3
uses: Cardinal-Cryptography/github-actions/replace-string@v3
with:
read-from-file: ${{ github.action_path }}/gh-api-payload.json
write-to-file: gh-api-payload-to-send.json
Expand Down Expand Up @@ -248,7 +248,7 @@ runs:
- name: Create failure slack notification
if: ${{ steps.check-if-merge-needed.outputs.merge == 'yes' && steps.merge-upstream.outputs.merge-failed == '1' }}
uses: Cardinal-Cryptography/replace-string@v3
uses: Cardinal-Cryptography/github-actions/replace-string@v3
with:
read-from-file: ${{ github.action_path }}/slack-msg-failure.json
write-to-file: slack-msg-failure-to-use.json
Expand All @@ -267,7 +267,7 @@ runs:
- name: Create success slack notification
if: ${{ steps.check-if-merge-needed.outputs.merge == 'yes' && steps.merge-upstream.outputs.merge-failed == '0' }}
uses: Cardinal-Cryptography/replace-string@v3
uses: Cardinal-Cryptography/github-actions/replace-string@v3
with:
read-from-file: ${{ github.action_path }}/slack-msg-failure.json
write-to-file: slack-msg-success-to-use.json
Expand Down

0 comments on commit e04066b

Please sign in to comment.