Changed the default branch name from master to main.
on:
push:
branches:
- - master
+ - main
pull_request:
branches:
- - master
+ - main
permissions:
contents: read
schedule:
- cron: '30 11 * * *' # every day at 11:30 UTC
push:
- branches: [ master ]
+ branches: [ main ]
paths:
- 'test/container/**'
- '.github/workflows/container.yml'
pull_request:
- branches: [ master ]
+ branches: [ main ]
paths:
- 'test/container/**'
- '.github/workflows/container.yml'
on:
pull_request:
- branches: [ master ]
+ branches: [ main ]
env:
DEBUGFAIL: "${{ secrets.ACTIONS_STEP_DEBUG && 'rd.debug' }}"
on:
push:
- branches: [ master ]
+ branches: [ main ]
pull_request:
- branches: [ master ]
+ branches: [ main ]
jobs:
lint-shell:
```console
$ git commit -m "docs: update NEWS.md and AUTHORS" NEWS.md AUTHORS
- $ git push origin master
+ $ git push origin main
```
5. Tag the release, validate the tag and push
git config user.name "Dracut Release Bot"
git config user.email "<>"
git commit -m "docs: update NEWS.md and AUTHORS" NEWS.md AUTHORS dracut-version.sh
-git push origin master
+git push origin main
git tag "$NEW_VERSION" -m "$NEW_VERSION"
git push --tags