We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7670217 commit 20e30b7Copy full SHA for 20e30b7
.github/workflows/build-and-publish-docker-image.yml
@@ -4,9 +4,11 @@ on:
4
push:
5
branches:
6
- "main"
7
- paths:
+ paths: &paths
8
- "docker/*"
9
- ".github/workflows/build-and-publish-docker-image.yml"
10
+ pull_request:
11
+ paths: *paths
12
13
14
permissions:
@@ -53,6 +55,8 @@ jobs:
53
55
REPO_DIR: "/srv/repo"
54
56
# Fix man pages that are disabled by Ubuntu 18 minimal base image
57
# APPENDIX_FILE: "appendix"
58
+ # Skip pushing for PRs:
59
+ NO_PUSH: "${{ github.event_name == 'pull_request' }}"
60
61
# Lets us monitor disks getting full as images get bigger over time
62
- name: "Show how much disk space is left"
0 commit comments