Skip to content

Commit 3c18931

Browse files
committed
fix error with cat
Signed-off-by: Andrew Brandt <[email protected]>
1 parent e14f619 commit 3c18931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
run: |
3232
ORG_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f1)
3333
echo "Org name is: ${ORG_NAME}"
34-
cat "${ORG_NAME}" > org-name.txt
34+
echo "${ORG_NAME}" > org-name.txt
3535
echo "Fetching repos for organization: ${{ inputs.org }}"
3636
gh api --paginate "orgs/$ORG_NAME/repos" --jq '.[].full_name' > repo-list.txt
3737
echo "Repos written to repo-list.txt"

0 commit comments

Comments
 (0)