diff --git a/README.md b/README.md index 83d10ec9..e5e8ab0d 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,10 @@ on: pull_request: branches: - main +# ------------------------------------------------------------------------------------------------------------------------- +# Event `push`: Compare the preceeding commit -> to the current commit of the main branch. +# Event `pull_request`: Compare the last commit of main -> to the current commit of a Pull Request branch. +# ------------------------------------------------------------------------------------------------------------------------- jobs: build: @@ -75,10 +79,7 @@ jobs: - name: Get changed files id: changed-files uses: tj-actions/changed-files@v35 - # ------------------------------------------------------------------------------------------------------------------------- - # Event `push`: Compare the preceeding commit -> to the current commit of the main branch. - # Event `pull_request`: Compare the last commit of main -> to the current commit of a Pull Request branch. - # ------------------------------------------------------------------------------------------------------------------------- + # To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g # with: # since_last_remote_commit: true