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

@@ -3,7 +3,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
paths:
- README.md
- .github/workflows/dockerhub-description.yml
@@ -16,7 +16,7 @@ jobs:
- name: Modify readme for DockerHub
run: |
sed -i 's/# Docker Hub Description/# [Docker Hub Description](https:\/\/github.com\/peter-evans\/dockerhub-description)/' README.md
sed -i 's/(LICENSE)/(https:\/\/github.com\/peter-evans\/dockerhub-description\/blob\/master\/LICENSE)/' README.md
sed -i 's/(LICENSE)/(https:\/\/github.com\/peter-evans\/dockerhub-description\/blob\/main\/LICENSE)/' README.md
- name: Docker Hub Description
uses: ./