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 a534e79 commit db7d7a6Copy full SHA for db7d7a6
action.yaml
@@ -14,5 +14,12 @@ inputs:
14
runs:
15
using: "composite"
16
steps:
17
- - name: List all repos in the Org
+ - name: List all repos in org
18
shell: bash
19
+ run: |
20
+ echo "Fetching repos for organization: ${{ inputs.org }}"
21
+ curl -s -H "Authorization: token ${{ inputs.token }}" \
22
+ -H "Accept: application/vnd.github+json" \
23
+ "https://api.github.com/orgs/${{ inputs.org }}/repos?per_page=100" |
24
+ jq -r '.[].full_name' > repo-list.txt
25
+ echo "Repos written to repo-list.txt"
0 commit comments