https://github.com/suzuki-shunsuke/example-github-actions-dynamic-matrix
Example of GitHub Actions Workflow which run matrix build dynamically according to changed files in the pull request
https://github.com/suzuki-shunsuke/example-github-actions-dynamic-matrix
Last synced: 3 months ago
JSON representation
Example of GitHub Actions Workflow which run matrix build dynamically according to changed files in the pull request
- Host: GitHub
- URL: https://github.com/suzuki-shunsuke/example-github-actions-dynamic-matrix
- Owner: suzuki-shunsuke
- License: mit
- Created: 2021-04-25T06:03:52.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-30T00:48:47.000Z (10 months ago)
- Last Synced: 2024-06-30T12:37:13.380Z (10 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# example-github-actions-dynamic-matrix
[](https://github.com/suzuki-shunsuke/example-github-actions-dynamic-matrix/actions)
[](https://github.com/suzuki-shunsuke/example-github-actions-dynamic-matrix)
[](https://raw.githubusercontent.com/suzuki-shunsuke/example-github-actions-dynamic-matrix/master/LICENSE)Example of GitHub Actions Workflow which runs a matrix build dynamically according to changed files in the pull request and pull request labels.
This is useful in case of Monorepo.
## Demo
We created some pull requests for the demonstration. Please see [here](https://github.com/suzuki-shunsuke/example-github-actions-dynamic-matrix/pulls?q=is%3Apr+is%3Aopen+label%3Ademo).
## Dependencies
* [akoi](https://github.com/suzuki-shunsuke/akoi)
* [akoi-installer](https://github.com/suzuki-shunsuke/akoi-installer)
* [ci-info](https://github.com/suzuki-shunsuke/ci-info)
* [matchfile](https://github.com/suzuki-shunsuke/matchfile)## Reference
* GitHub Actions
* [fromJSON - Example returning a JSON object](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#example-returning-a-json-object)
* [matrix](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix)
* [outputs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idoutputs)
* [needs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds)## LICENSE
[MIT](LICENSE)