Skip to content

Commit 0844fb1

Browse files
committed
chore: change formatting
1 parent 9b16757 commit 0844fb1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/comment-diffs.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ jobs:
216216
if: ${{ steps.check-is-diff-non-empty.outputs.DIFF_IS_NON_EMPTY == '1' }}
217217
run: |
218218
mkdir outputs
219-
echo "[${{ matrix.language }} - ${{ matrix.type }}](https://github.com/${{ vars.DIFF_VIEW_USERNAME }}/${{ vars.DIFF_VIEW_REPO_NAME }}/compare/${{ steps.push.outputs.OLD_COMMIT_HASH }}..${{ steps.push.outputs.NEW_COMMIT_HASH }})" >> outputs/${{ matrix.type }}-${{ matrix.language }}.txt
219+
echo "- [${{ matrix.language }} ${{ matrix.type }}](https://github.com/${{ vars.DIFF_VIEW_USERNAME }}/${{ vars.DIFF_VIEW_REPO_NAME }}/compare/${{ steps.push.outputs.OLD_COMMIT_HASH }}..${{ steps.push.outputs.NEW_COMMIT_HASH }})" >> outputs/${{ matrix.type }}-${{ matrix.language }}.txt
220220
221221
- uses: actions/upload-artifact@v3
222222
if: ${{ steps.check-is-diff-non-empty.outputs.DIFF_IS_NON_EMPTY == '1' }}
@@ -228,7 +228,6 @@ jobs:
228228
runs-on: ubuntu-latest
229229
needs: [comment-diffs]
230230
steps:
231-
- uses: actions/checkout@v3
232231
- name: Load outputs
233232
uses: actions/download-artifact@v3
234233
with:
@@ -257,16 +256,16 @@ jobs:
257256
github-token: ${{secrets.GITHUB_TOKEN}}
258257
script: |
259258
const replaceTable = {
260-
"module-legacy": "**Native module**",
261-
"module-mixed": "**Turbo module with backward compat**",
262-
"module-new": "**Turbo module**",
263-
"view-legacy": "**Native view**",
264-
"view-mixed": "**Fabric view with backward compat**",
265-
"view-new": "**Fabric view**",
266-
"java-objc": "**Java and Objective C**",
267-
"java-swift": "**Java and Swift**",
268-
"kotlin-objc": "**Kotlin and Objective C**",
269-
"kotlin-swift": "**Kotlin and Swift**"
259+
"module-legacy": "Native module",
260+
"module-mixed": "Turbo module with backward compat",
261+
"module-new": "Turbo module",
262+
"view-legacy": "Native view",
263+
"view-mixed": "Fabric view with backward compat",
264+
"view-new": "Fabric view",
265+
"java-objc": "Java and Objective C",
266+
"java-swift": "Java and Swift",
267+
"kotlin-objc": "Kotlin and Objective C",
268+
"kotlin-swift": "Kotlin and Swift"
270269
}
271270
272271
const artifacts = `${{ steps.artifacts.outputs.ARTIFACTS }}`;
@@ -276,6 +275,7 @@ jobs:
276275
}, artifacts)
277276
278277
const body = `🤓☝️ This PR changes the output of \`create-react-native-library\`. You can find the diff of the changes below:
278+
279279
${artifactsReplaced}
280280
`;
281281

0 commit comments

Comments
 (0)