Skip to content

Commit

Permalink
GH-240 add back in new lines at end of files
Browse files Browse the repository at this point in the history
  • Loading branch information
larmitage-bjss committed Feb 15, 2024
1 parent 971fa99 commit 8389a6e
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 15 deletions.
3 changes: 2 additions & 1 deletion __tests__/fixtures/action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ outputs:

runs:
using: "node12"
main: "dist/index.js"
main: "dist/index.js"

2 changes: 1 addition & 1 deletion __tests__/fixtures/action/action_docs_action_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ inputs:

runs:
using: "node16"
main: "dist/index.js"
main: "dist/index.js"
2 changes: 1 addition & 1 deletion __tests__/fixtures/action/action_docs_action_readme.input
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!-- action-docs-inputs action="__tests__/fixtures/action/action_docs_action_action.yml" -->
<!-- action-docs-inputs action="__tests__/fixtures/action/action_docs_action_action.yml" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/action/action_docs_action_readme.output
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
| `actionFile` | <p>The action definition file.</p> | `false` | `action.yml` |
| `tocLevel` | <p>TOC level used for the headers.</p> | `false` | `2` |
| `lineBreaks` | <p>Line breaks to be used in updated readme (LF|CR|CRLF).</p> | `false` | `LF` |
<!-- action-docs-inputs action="__tests__/fixtures/action/action_docs_action_action.yml" -->
<!-- action-docs-inputs action="__tests__/fixtures/action/action_docs_action_action.yml" -->
3 changes: 2 additions & 1 deletion __tests__/fixtures/action/all_fields_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ outputs:

runs:
using: "node12"
main: "dist/index.js"
main: "dist/index.js"

2 changes: 1 addition & 1 deletion __tests__/fixtures/action/all_fields_readme.input.crlf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

<!-- action-docs-outputs action="__tests__/fixtures/action/all_fields_action.yml.crlf" -->

<!-- action-docs-runs action="__tests__/fixtures/action/all_fields_action.yml.crlf" -->
<!-- action-docs-runs action="__tests__/fixtures/action/all_fields_action.yml.crlf" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/action/all_fields_readme.output.crlf
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Default test
## Runs

This action is a `node12` action.
<!-- action-docs-runs action="__tests__/fixtures/action/all_fields_action.yml.crlf" -->
<!-- action-docs-runs action="__tests__/fixtures/action/all_fields_action.yml.crlf" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/action/minimal_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: "An Action"
description: "Default test"
runs:
using: "docker"
image: "Dockerfile"
image: "Dockerfile"
2 changes: 1 addition & 1 deletion __tests__/fixtures/action/two_actions_readme.input
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
| `lineBreaks` | <p>Line breaks to be used in updated readme (LF|CR|CRLF).</p> | `false` | `LF` |
<!-- action-docs-inputs action="__tests__/fixtures/action/action_docs_action_action.yml" -->

<!-- action-docs-outputs action="__tests__/fixtures/action/all_fields_action.yml" -->
<!-- action-docs-outputs action="__tests__/fixtures/action/all_fields_action.yml" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/action/two_actions_readme.output
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
| --- | --- |
| `outputA` | <p>A description A</p> |
| `outputB` | <p>A description B</p> |
<!-- action-docs-outputs action="__tests__/fixtures/action/all_fields_action.yml" -->
<!-- action-docs-outputs action="__tests__/fixtures/action/all_fields_action.yml" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/workflow/all_fields_readme.input
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

<!-- action-docs-inputs action="__tests__/fixtures/workflow/all_fields_workflow.yml" -->

<!-- action-docs-outputs action="__tests__/fixtures/workflow/all_fields_workflow.yml" -->
<!-- action-docs-outputs action="__tests__/fixtures/workflow/all_fields_workflow.yml" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/workflow/all_fields_readme.output
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
| --- | --- |
| `outputA` | <p>A description A</p> |
| `outputB` | <p>A description B</p> |
<!-- action-docs-outputs action="__tests__/fixtures/workflow/all_fields_workflow.yml" -->
<!-- action-docs-outputs action="__tests__/fixtures/workflow/all_fields_workflow.yml" -->
2 changes: 1 addition & 1 deletion __tests__/fixtures/workflow/all_fields_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
steps:
- name: 'Step 1'
id: step1
run: echo "test=some value" >> "$GITHUB_OUTPUT"
run: echo "test=some value" >> "$GITHUB_OUTPUT"
2 changes: 1 addition & 1 deletion __tests__/fixtures/workflow/minimal_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
steps:
- name: 'Step 1'
id: step1
run: echo "test=some value" >> "$GITHUB_OUTPUT"
run: echo "test=some value" >> "$GITHUB_OUTPUT"
2 changes: 1 addition & 1 deletion __tests__/fixtures/workflow/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
steps:
- name: 'Step 1'
id: step1
run: echo "test=some value" >> "$GITHUB_OUTPUT"
run: echo "test=some value" >> "$GITHUB_OUTPUT"

0 comments on commit 8389a6e

Please sign in to comment.