Update README.md

This commit is contained in:
Tonye Jack
2023-06-28 19:31:20 -06:00
committed by GitHub
parent 6fdb8b53b3
commit e42f43b67b

View File

@@ -82,7 +82,7 @@ And many more.
> * For repositories that have PRs generated from forks when configuring [`actions/checkout`](https://github.com/actions/checkout#usage) set the `repository` to `${{ github.event.pull_request.head.repo.full_name }}`. See: [Example](https://github.com/tj-actions/changed-files/blob/main/.github/workflows/test.yml#L47-L51) > * For repositories that have PRs generated from forks when configuring [`actions/checkout`](https://github.com/actions/checkout#usage) set the `repository` to `${{ github.event.pull_request.head.repo.full_name }}`. See: [Example](https://github.com/tj-actions/changed-files/blob/main/.github/workflows/test.yml#L47-L51)
`pull_request` ### On `pull_request`
```yaml ```yaml
name: CI name: CI
@@ -192,7 +192,7 @@ jobs:
echo "List all the files that have changed: ${{ steps.changed-files-yaml.outputs.doc_all_changed_files }}" echo "List all the files that have changed: ${{ steps.changed-files-yaml.outputs.doc_all_changed_files }}"
``` ```
`push` ### On `push`
```yaml ```yaml
name: CI name: CI