chore(ci): trigger markdown on pull requests
- Verification steps - Publishing step to Docker Hub is reserved for pushes to the master branch
This commit is contained in:
7
.github/workflows/markdown.yml
vendored
7
.github/workflows/markdown.yml
vendored
@@ -6,6 +6,11 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- .github/workflows/markdown.yml
|
- .github/workflows/markdown.yml
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "**.md"
|
||||||
|
- .github/workflows/markdown.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
markdown:
|
markdown:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -32,7 +37,7 @@ jobs:
|
|||||||
use-quiet-mode: yes
|
use-quiet-mode: yes
|
||||||
|
|
||||||
- uses: peter-evans/dockerhub-description@v3
|
- uses: peter-evans/dockerhub-description@v3
|
||||||
if: github.repository == 'qdm12/gluetun'
|
if: github.repository == 'qdm12/gluetun' && github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
username: qmcgaw
|
username: qmcgaw
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|||||||
Reference in New Issue
Block a user