diff --git a/.all-contributorsrc b/.all-contributorsrc index 1b11adfa..7f0ecb87 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -178,6 +178,15 @@ "contributions": [ "doc" ] + }, + { + "login": "albertoperdomo2", + "name": "Alberto Perdomo", + "avatar_url": "https://avatars.githubusercontent.com/u/62241095?v=4", + "profile": "https://github.com/albertoperdomo2", + "contributions": [ + "doc" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index bdf67605..f5668822 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,7 @@ [![Update release version.](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml/badge.svg)](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml) - -[![All Contributors](https://img.shields.io/badge/all_contributors-19-orange.svg?style=flat-square)](#contributors-) - +[![All Contributors](https://img.shields.io/badge/all_contributors-20-orange.svg?style=flat-square)](#contributors-) ## changed-files @@ -78,6 +76,7 @@ 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. @@ -95,7 +94,7 @@ jobs: # Example 1 - name: Get changed files id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 # To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g # with: @@ -110,7 +109,7 @@ jobs: # Example 2 - name: Get changed files in the docs folder id: changed-files-specific - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: files: docs/*.{js,html} # Alternatively using: `docs/**` or `docs` @@ -123,7 +122,7 @@ jobs: # Example 3 - name: Get all changed *.js file(s) or any file in the static folder excluding the docs folder id: changed-files-excluded - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: files: | **/*.js @@ -255,7 +254,7 @@ Using this versioning convention helps ensure that users can easily identify and ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 ... ``` @@ -268,7 +267,7 @@ Using this versioning convention helps ensure that users can easily identify and ... - name: Get all changed files and use a comma separator in the output id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: separator: "," ... @@ -285,7 +284,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 - name: List all added files run: | @@ -306,7 +305,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 - name: Run a step if my-file.txt was modified if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') @@ -371,7 +370,7 @@ See [action.yml](action.yml#L264) for a list of all available keys. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: files: | my-file.txt @@ -394,7 +393,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files-specific - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: files: | my-file.txt @@ -441,7 +440,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files using a source file or list of file(s) to populate to files input. id: changed-files-specific-source-file - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: files_from_source_file: test/changed-files-list.txt ... @@ -458,7 +457,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files. id: changed-files-specific-source-file-and-specify-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: files_from_source_file: | test/changed-files-list.txt @@ -479,7 +478,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different SHA id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: sha: ${{ github.event.pull_request.head.sha }} ... @@ -496,7 +495,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different base SHA id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: base_sha: ${{ github.event.pull_request.base.sha }} ... @@ -528,11 +527,11 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 - name: Get changed files in the .github folder id: changed-files-specific - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: base_sha: ${{ steps.get-base-sha.outputs.base_sha }} files: .github/** @@ -562,7 +561,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with defaults in dir1 id: changed-files-for-dir1 - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: path: dir1 @@ -585,7 +584,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with quotepath disabled id: changed-files-quotepath - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: quotepath: "false" @@ -624,7 +623,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with the commit of the last successful test workflow run id: changed-files-base-sha-push - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: base_sha: ${{ steps.last_successful_commit_push.outputs.base }} ... @@ -651,7 +650,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with the commit of the last successful test workflow run on main id: changed-files-base-sha-pull-request - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }} ... @@ -675,7 +674,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with dir_names id: changed-files-dir-names - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: dir_names: "true" ... @@ -692,7 +691,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with json output id: changed-files-json - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: json: "true" ... @@ -709,13 +708,13 @@ See [inputs](#inputs) for more information. ... - name: Get changed-files since 2022-08-19 id: changed-files-since - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: since: "2022-08-19" - name: Get changed-files until 2022-08-20 id: changed-files-until - uses: tj-actions/changed-files@V35 + uses: tj-actions/changed-files@v35 with: until: "2022-08-20" ... @@ -731,13 +730,18 @@ See [inputs](#inputs) for more information. ### Examples -* [vite: uses tj-action/changed-files to automate testing](https://github.com/vitejs/vite/blob/8da04227d6f818a8ad9efc0056101968037c2e36/.github/workflows/ci.yml#L61) +* [vitejs/vite: uses tj-actions/changed-files to automate testing](https://github.com/vitejs/vite/blob/8da04227d6f818a8ad9efc0056101968037c2e36/.github/workflows/ci.yml#L61) -* [QGIS: uses tj-action/changed-files to automate spell checking](https://github.com/qgis/QGIS/blob/a5333497e90ac9de4ca70463d8e0b64c3f294d63/.github/workflows/code_layout.yml#L147) +* [qgis/QGIS: uses tj-actions/changed-files to automate spell checking](https://github.com/qgis/QGIS/blob/a5333497e90ac9de4ca70463d8e0b64c3f294d63/.github/workflows/code_layout.yml#L147) -* [code-server: uses tj-action/changed-files to automate detecting changes and run steps based on the outcome](https://github.com/coder/code-server/blob/c32a31d802f679846876b8ad9aacff6cf7b5361d/.github/workflows/build.yaml#L48) +* [coder/code-server: uses tj-actions/changed-files to automate detecting changes and run steps based on the outcome](https://github.com/coder/code-server/blob/c32a31d802f679846876b8ad9aacff6cf7b5361d/.github/workflows/build.yaml#L48) + +* [tldr-pages/tldr: uses tj-actions/changed-files to automate detecting spelling errors](https://github.com/tldr-pages/tldr/blob/main/.github/workflows/codespell.yml#L14) + +* [nodejs/docker-node: uses tj-actions/changed-files to generate matrix jobs based on changes detected](https://github.com/nodejs/docker-node/blob/3c4fa6daf06a4786d202f2f610351837806a0380/.github/workflows/build-test.yml#L29) + +And many more... -* [tldr: uses tj-action/changed-files to automate detecting spelling errors](https://github.com/tldr-pages/tldr/blob/main/.github/workflows/codespell.yml#L14) ## Known Limitation @@ -814,43 +818,40 @@ If you are reporting a bug, please include: Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): - - - - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - + + + + + +
Josh Soref
Josh Soref

📖
Nick Landers
Nick Landers

💻
Krasimir Nikolov
Krasimir Nikolov

💻 📖
Ivan Pizhenko
Ivan Pizhenko

💻 📖
talva-tr
talva-tr

💻
Ikko Ashimine
Ikko Ashimine

📖
James
James

📖
Josh Soref
Josh Soref

📖
Nick Landers
Nick Landers

💻
Krasimir Nikolov
Krasimir Nikolov

💻 📖
Ivan Pizhenko
Ivan Pizhenko

💻 📖
talva-tr
talva-tr

💻
Ikko Ashimine
Ikko Ashimine

📖
James
James

📖
James Cheng
James Cheng

📖
Masaya Suzuki
Masaya Suzuki

💻
fagai
fagai

📖
Constantine Peresypkin
Constantine Peresypkin

💻
Mathieu Dupuy
Mathieu Dupuy

📖
Joe Moggridge
Joe Moggridge

📖
Charles Santos
Charles Santos

💻
James Cheng
James Cheng

📖
Masaya Suzuki
Masaya Suzuki

💻
fagai
fagai

📖
Constantine Peresypkin
Constantine Peresypkin

💻
Mathieu Dupuy
Mathieu Dupuy

📖
Joe Moggridge
Joe Moggridge

📖
Charles Santos
Charles Santos

💻
Kostiantyn Korniienko
Kostiantyn Korniienko

📖
Logan Pulley
Logan Pulley

💻
Kenji Miyake
Kenji Miyake

💻
adonisgarciac
adonisgarciac

💻 📖
Chiel Fernhout
Chiel Fernhout

📖
Kostiantyn Korniienko
Kostiantyn Korniienko

📖
Logan Pulley
Logan Pulley

💻
Kenji Miyake
Kenji Miyake

💻
adonisgarciac
adonisgarciac

💻 📖
Chiel Fernhout
Chiel Fernhout

📖
Alberto Perdomo
Alberto Perdomo

📖
-