Skip to content

Commit c4fbd5b

Browse files
committed
Minor tweaks after initial code review
1 parent d462476 commit c4fbd5b

5 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/actions/file/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inputs:
1515
description: "Cached filings from previous runs, as stringified JSON. Without this, duplicate issues may be filed."
1616
required: false
1717
screenshot_repo:
18-
description: "Repository (with owner) where screenshots are stored on the gh-cache branch. Defaults to the 'repository' input if not set."
18+
description: "Repository (with owner) where screenshots are stored on the gh-cache branch. Defaults to the 'repository' input if not set. Required if issues are open in a different repo to construct proper screenshot URLs."
1919
required: false
2020

2121
outputs:

.github/actions/find/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
description: "Stringified JSON object containing 'username', 'password', 'cookies', and/or 'localStorage' from an authenticated session"
1111
required: false
1212
include_screenshots:
13-
description: "Whether to capture screenshots of scanned pages"
13+
description: "Whether to capture screenshots of scanned pages and include links to them in the issue"
1414
required: false
1515
default: "true"
1616

.github/actions/gh-cache/delete/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ runs:
6565
run: |
6666
if [ -e "${{ inputs.path }}" ]; then
6767
rm -Rf "${{ inputs.path }}"
68+
rm -Rf ".gh-cache-${{ github.run_id }}/${{ inputs.path }}"
6869
echo "Deleted '${{ inputs.path }}' from 'gh-cache' branch"
6970
else
7071
echo "'${{ inputs.path }}' does not exist in 'gh-cache' branch"

.github/actions/gh-cache/restore/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ runs:
7272
src=".gh-cache-${{ github.run_id }}/${{ inputs.path }}"
7373
dest="${{ inputs.path }}"
7474
if [ -e "$src" ]; then
75-
if [ -d "$src" ]; then
76-
rm -rf "$dest"
77-
fi
7875
mkdir -p "$(dirname "$dest")"
7976
cp -Rf "$src" "$dest"
8077
echo "Restored '${{ inputs.path }}' from cache"

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ inputs:
3232
required: false
3333
default: "false"
3434
include_screenshots:
35-
description: "Whether to include screenshots of issues in the issue bodies"
35+
description: "Whether to capture screenshots and include links to them in the issue"
3636
required: false
3737
default: "true"
3838

0 commit comments

Comments
 (0)