ci: update default branch

This commit is contained in:
Peter Evans
2021-05-12 17:12:31 +09:00
parent 041efd9199
commit 95dee52e1c
4 changed files with 10 additions and 10 deletions

View File

@@ -59,14 +59,14 @@ The GitHub repository description can be used for the Docker Hub `short-descript
### Examples
The following workflow updates the Docker Hub repository description whenever there are changes to `README.md` and the workflow file itself on the `master` branch. This workflow assumes its location to be `.github/workflows/dockerhub-description.yml`.
The following workflow updates the Docker Hub repository description whenever there are changes to `README.md` and the workflow file itself on the `main` branch. This workflow assumes its location to be `.github/workflows/dockerhub-description.yml`.
```yml
name: Update Docker Hub Description
on:
push:
branches:
- master
- main
paths:
- README.md
- .github/workflows/dockerhub-description.yml