We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I push many commits, it just detect the changes from the last commit:
name: Test on: push jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.1.0 - uses: jitterbit/get-changed-files@v1 id: abc with: format: space-delimited token: ${{ secrets.GITHUB_TOKEN }} - name: Printing run: | echo "All:" echo "${{ steps.abc.outputs.all }}" echo "Added:" echo "${{ steps.abc.outputs.added }}" echo "Removed:" echo "${{ steps.abc.outputs.removed }}" echo "Renamed:" echo "${{ steps.abc.outputs.renamed }}" echo "Modified:" echo "${{ steps.abc.outputs.modified }}" echo "Added+Modified:" echo "${{ steps.abc.outputs.added_modified }}"
Example from stackoverflow (not mine)
The text was updated successfully, but these errors were encountered:
This reply is kind of late, but maybe it will help someone out. You need to set the fetch-depth for actions/checkout to get the complete history.
fetch-depth
actions/checkout
# Number of commits to fetch. 0 indicates all history for all branches and tags. # Default: 1 fetch-depth: ''
Example code:
- uses: actions/checkout@v2 with: fetch-depth: 0
Sorry, something went wrong.
No branches or pull requests
When I push many commits, it just detect the changes from the last commit:
Example from stackoverflow (not mine)
The text was updated successfully, but these errors were encountered: