Skip to content

Commit

Permalink
read global defaults
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
trueberryless committed Nov 19, 2024
1 parent 62c864c commit 1123b45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
steps:
# Step 1: Checkout current repository
- name: Checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Step 2: Install jq for JSON parsing
- name: Install jq
Expand All @@ -73,6 +73,7 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
repos=$(jq -c '.repositories[]' repos.json)
global_defaults=$(jq -c '.defaults' repos.json)
for repo_config in $repos; do
repo_name=$(echo "$repo_config" | jq -r '.name')
Expand Down

0 comments on commit 1123b45

Please sign in to comment.