mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-23 05:54:33 +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:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- 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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -75,10 +79,7 @@ jobs:
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v35
|
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
|
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
|
||||||
# with:
|
# with:
|
||||||
# since_last_remote_commit: true
|
# since_last_remote_commit: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue