mirror of
https://github.com/wilsonfreitas/awesome-quant.git
synced 2026-08-19 14:58:06 +00:00
Rename default branch from master to main
Update GitHub Actions workflow, skill files, and shell scripts to reference 'main' instead of 'master'.
This commit is contained in:
@@ -75,5 +75,5 @@ Stage, commit, and push the change:
|
|||||||
```bash
|
```bash
|
||||||
git add site/index.qmd
|
git add site/index.qmd
|
||||||
git commit -m "Sync site/index.qmd with README.md"
|
git commit -m "Sync site/index.qmd with README.md"
|
||||||
git push origin master
|
git push origin main
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ If any updates were made:
|
|||||||
```bash
|
```bash
|
||||||
git add README.md non-github-urls.md
|
git add README.md non-github-urls.md
|
||||||
git commit -m "Update PyPI project last updated dates"
|
git commit -m "Update PyPI project last updated dates"
|
||||||
git push origin master
|
git push origin main
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ if [ $exit_code -eq 0 ]; then
|
|||||||
echo "📝 Changes detected, committing..."
|
echo "📝 Changes detected, committing..."
|
||||||
git add README.md
|
git add README.md
|
||||||
git commit -m "Update PyPI project last updated dates"
|
git commit -m "Update PyPI project last updated dates"
|
||||||
git push origin master
|
git push origin main
|
||||||
echo "✅ Changes pushed to remote"
|
echo "✅ Changes pushed to remote"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: "0 1 * * *"
|
- cron: "0 1 * * *"
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
paths:
|
paths:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
- 'parse.py'
|
- 'parse.py'
|
||||||
|
|||||||
Reference in New Issue
Block a user