From 93b782be1f24e5fd45acb77028b82845e518558c Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 12 Mar 2023 04:01:54 -0600 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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