We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab7b3d commit 6bdaf4fCopy full SHA for 6bdaf4f
action.yaml
@@ -31,6 +31,13 @@ runs:
31
run: |
32
ORG_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f1)
33
echo "Org name is: ${ORG_NAME}"
34
+ cat "${ORG_NAME}" > repo-list.txt
35
echo "Fetching repos for organization: ${{ inputs.org }}"
- gh api --paginate "orgs/$ORG_NAME/repos" --jq '.[].full_name' > repo-list.txt
36
+ gh api --paginate "orgs/$ORG_NAME/repos" --jq '.[].full_name' >> repo-list.txt
37
echo "Repos written to repo-list.txt"
38
+
39
+ - name: Print out all repos in file
40
+ shell: bash
41
+ run: |
42
+ echo "Full list of repos in org:"
43
+ cat repo-list.txt
0 commit comments