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:
|
||||
- "**.md"
|
||||
- .github/workflows/markdown.yml
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.md"
|
||||
- .github/workflows/markdown.yml
|
||||
|
||||
jobs:
|
||||
markdown:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -32,7 +37,7 @@ jobs:
|
||||
use-quiet-mode: yes
|
||||
|
||||
- uses: peter-evans/dockerhub-description@v3
|
||||
if: github.repository == 'qdm12/gluetun'
|
||||
if: github.repository == 'qdm12/gluetun' && github.event_name == 'push'
|
||||
with:
|
||||
username: qmcgaw
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user