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 6bdaf4f commit e14f619Copy full SHA for e14f619
action.yaml
@@ -31,13 +31,15 @@ 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
+ cat "${ORG_NAME}" > org-name.txt
35
echo "Fetching repos for organization: ${{ inputs.org }}"
36
- gh api --paginate "orgs/$ORG_NAME/repos" --jq '.[].full_name' >> repo-list.txt
+ 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
42
+ echo "Org name is:"
43
+ cat org-name.txt
44
echo "Full list of repos in org:"
45
cat repo-list.txt
0 commit comments