Skip to content

Commit

Permalink
fix: use github context before and after
Browse files Browse the repository at this point in the history
  • Loading branch information
dg1223 committed Jul 26, 2023
1 parent 826fcbb commit beed3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: check-readme-changes
run: |
# Get the list of changed files between the base and head branches
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }}...${{ github.sha }})
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }})
echo ${CHANGED_FILES}
# Check if 'README.md' or '.yml' files are the only files changed
Expand Down

0 comments on commit beed3e4

Please sign in to comment.