mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-22 21:17:39 +00:00
Update README.md
This commit is contained in:
parent
10b3f59625
commit
93b782be1f
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue