mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-20 11:01:56 +00:00
Update README.md
This commit is contained in:
parent
4270b9fd4b
commit
d0064d8549
1 changed files with 11 additions and 24 deletions
35
README.md
35
README.md
|
@ -92,7 +92,7 @@ And many more...
|
||||||
|
|
||||||
Visit the [discussions for more information](https://github.com/tj-actions/changed-files/discussions) or [create a new discussion](https://github.com/tj-actions/changed-files/discussions/new/choose) for usage-related questions.
|
Visit the [discussions for more information](https://github.com/tj-actions/changed-files/discussions) or [create a new discussion](https://github.com/tj-actions/changed-files/discussions/new/choose) for usage-related questions.
|
||||||
|
|
||||||
### On `pull_request` 🔀
|
### On [`pull_request`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request) 🔀
|
||||||
|
|
||||||
Detect changes to all files in a Pull request relative to the target branch or since the last pushed commit.
|
Detect changes to all files in a Pull request relative to the target branch or since the last pushed commit.
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ jobs:
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
### On `push` ⬆️
|
### On [`push`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push) ⬆️
|
||||||
|
|
||||||
Detect changes to files made since the last pushed commit.
|
Detect changes to files made since the last pushed commit.
|
||||||
|
|
||||||
|
@ -227,28 +227,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
# -------------------------------
|
|
||||||
# Optionally run on other events
|
|
||||||
# -------------------------------
|
|
||||||
# schedule:
|
|
||||||
# - cron: '0 0 * * *'
|
|
||||||
#
|
|
||||||
# release:
|
|
||||||
# types: [...]
|
|
||||||
#
|
|
||||||
# workflow_dispatch:
|
|
||||||
#
|
|
||||||
# push:
|
|
||||||
# tags:
|
|
||||||
# - '**'
|
|
||||||
#
|
|
||||||
# merge_group:
|
|
||||||
#
|
|
||||||
# issue_comment:
|
|
||||||
#
|
|
||||||
# ...and many more
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# -------------------------------------------------------------
|
# -------------------------------------------------------------
|
||||||
# Using GitHub's API is not supported for push events
|
# Using GitHub's API is not supported for push events
|
||||||
|
@ -281,6 +259,15 @@ jobs:
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Other supported events :electron:
|
||||||
|
|
||||||
|
- [schedule](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule)
|
||||||
|
- [release](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release)
|
||||||
|
- [workflow_dispatch](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)
|
||||||
|
- [merge_group](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group)
|
||||||
|
- [issue_comment](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment)
|
||||||
|
- ...and many more
|
||||||
|
|
||||||
To access more examples, navigate to the [Examples](#examples-) section.
|
To access more examples, navigate to the [Examples](#examples-) section.
|
||||||
|
|
||||||
If you feel generous and want to show some extra appreciation:
|
If you feel generous and want to show some extra appreciation:
|
||||||
|
|
Loading…
Add table
Reference in a new issue