Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Oct 26, 2023
1 parent 4270b9f commit d0064d8
Showing 1 changed file with 11 additions and 24 deletions.
35 changes: 11 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

### 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.

Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
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.

Expand All @@ -227,28 +227,6 @@ on:
branches:
- main
# -------------------------------
# Optionally run on other events
# -------------------------------
# schedule:
# - cron: '0 0 * * *'
#
# release:
# types: [...]
#
# workflow_dispatch:
#
# push:
# tags:
# - '**'
#
# merge_group:
#
# issue_comment:
#
# ...and many more
jobs:
# -------------------------------------------------------------
# Using GitHub's API is not supported for push events
Expand Down Expand Up @@ -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.

If you feel generous and want to show some extra appreciation:
Expand Down

0 comments on commit d0064d8

Please sign in to comment.