We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b3bdeb commit a38e2fdCopy full SHA for a38e2fd
.github/workflows/pr-checks.yml
@@ -32,7 +32,7 @@ jobs:
32
33
- name: Build Docker image if Dockerfile changed
34
run: |
35
- if git diff --name-only origin/${{ github.base_ref }} | grep -q '^Dockerfile$'; then
+ if git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.sha }}" | grep -q '^Dockerfile$'; then
36
echo "Dockerfile changed — building image..."
37
docker build -t opencode-cli-pr:latest .
38
else
0 commit comments