Merge pull request #647 from tj-actions/chore/remove-logging-the-github-context
This commit is contained in:
commit
13c0052761
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -270,8 +270,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Show github context
|
|
||||||
run: echo '${{ toJSON(github) }}'
|
|
||||||
- name: Run changed-files with defaults
|
- name: Run changed-files with defaults
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: ./
|
uses: ./
|
||||||
|
@ -70,8 +70,12 @@ if [[ -z $GITHUB_BASE_REF ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
|
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
|
||||||
INITIAL_COMMIT="true"
|
PREVIOUS_SHA=$(git rev-parse "$CURRENT_SHA^1")
|
||||||
echo "::debug::Initial commit detected"
|
|
||||||
|
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
|
||||||
|
INITIAL_COMMIT="true"
|
||||||
|
echo "::debug::Initial commit detected"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
PREVIOUS_SHA=$INPUT_BASE_SHA
|
PREVIOUS_SHA=$INPUT_BASE_SHA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user