File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed
Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -52,21 +52,13 @@ runs:
5252 - name : Extract property names into a JSON file
5353 shell : bash
5454 env :
55- GH_TOKEN : ${{ inputs.token }} # or use your PAT if needed
55+ GH_TOKEN : ${{ inputs.token }}
5656 run : |
5757 ORG=$(cat org-name.txt)
5858 echo "Fetching property schema for org: $ORG"
5959 gh api --paginate "orgs/$ORG/properties/schema" | jq 'map(.property_name)' > property-names.json
6060 echo "Property names written to property-names.json"
6161
62- # - name: Print out all repos in file
63- # shell: bash
64- # run: |
65- # echo "Org name is:"
66- # cat org-name.txt
67- # echo "Full list of repos in org:"
68- # cat repo-list.txt
69-
7062 - name : Fetch custom properties for each repo
7163 shell : bash
7264 env :
9486
9587 echo "Custom properties written to read-repo-properties.json"
9688
97- # - name: Print out the full read-repo-properties.json file
98- # shell: bash
99- # run: |
100- # echo ""
101- # echo "Full read-repo-properties.json file is:"
102- # cat read-repo-properties.json
103- # echo ""
104-
105- # - name: Confirm the template file exists
106- # shell: bash
107- # run: |
108- # echo "The template file for JSON output is:"
109- # cat property-names.json
110-
11189 - name : Convert repo properties to YAML using template
11290 shell : bash
11391 run : |
You can’t perform that action at this time.
0 commit comments