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 db7d7a6 commit 4705292Copy full SHA for 4705292
action.yaml
@@ -14,9 +14,21 @@ inputs:
14
runs:
15
using: "composite"
16
steps:
17
+
18
+ - name: Install yq (mikefarah's version)
19
+ shell: bash
20
+ run: |
21
+ sudo wget --quiet https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
22
+ sudo chmod +x /usr/bin/yq
23
+ yq --version # confirm installed
24
25
26
27
- name: List all repos in org
28
shell: bash
29
run: |
30
+ ORG_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f1)
31
+ echo "Org name is: ${ORG_NAME}"
32
echo "Fetching repos for organization: ${{ inputs.org }}"
33
curl -s -H "Authorization: token ${{ inputs.token }}" \
34
-H "Accept: application/vnd.github+json" \
0 commit comments