We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b613b commit 471cf62Copy full SHA for 471cf62
.github/workflows/update_build_environment.yml
@@ -21,10 +21,10 @@ jobs:
21
echo "Checking if Dockerfile was modified since last commit on this PR"
22
echo "GitHub PR action type: ${{ github.event.action }}"
23
if [ "${{ github.event.action }}" == "opened" ]; then
24
- echo "GitHub base ref: ${{ github.base.sha }}"
25
- echo "GitHub head ref: ${{ github.head.sha }}"
26
- BEFORE=${{ github.base.sha }}
27
- AFTER=${{ github.head.sha }}
+ echo "GitHub base ref: ${{ github.pull_request.base.sha }}"
+ echo "GitHub head ref: ${{ github.pull_request.head.sha }}"
+ BEFORE=${{ github.pull_request.base.sha }}
+ AFTER=${{ github.pull_request.head.sha }}
28
else
29
echo "GitHub event before: ${{ github.event.before }}"
30
echo "GitHub event after: ${{ github.event.after }}"
0 commit comments