File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4040Safety Concern :
4141 color : " FBCA04"
4242 description : " This poses a safety risk"
43+
Original file line number Diff line number Diff line change 2222 - name : Install dependencies
2323 run : |
2424 python -m pip install --upgrade pip
25- pip install requests yq && sudo snap install yq
25+ pip install requests yq
2626
2727 - name : Get all repos in the organization
2828 env :
3333 RESPONSE=$(curl -s \
3434 -H "Authorization: token $LABELS_PAT" \
3535 "https://api.github.com/orgs/$ORGANIZATION/repos?per_page=100")
36+ echo $REPOS
3637 REPOS=$(echo "$RESPONSE" | jq -r '.[].name')
3738 echo "REPOS=$REPOS" >> $GITHUB_ENV
38- - name : Update Labels for All Repos
39- env :
40- LABELS_PAT : ${{ secrets.LABELS_PAT }}
41- run : |
4239 LABELS=$(cat .github/labels.yml)
4340 echo $REPOS
4441 echo "$REPOS" | while IFS= read -r REPO; do
You can’t perform that action at this time.
0 commit comments