Commit Graph

23 Commits

Author SHA1 Message Date
Michal Dorner
829abbf5d3
Merge pull request #157 from tlinhart/patch-1
Set `list-files` input parameter as not required
2022-10-11 22:40:00 +02:00
Masaya Suzuki
375cc8a558
Update Node.js 2022-10-11 00:40:01 +09:00
Tomáš Linhart
ff17951ef9
Set list-files input parameter as not required
There is a default value provided in the action metadata file so the input parameter should be specified as not required. Leaving it marked as required causes workflow validation errors when leaving out this parameter.
2022-09-29 12:58:42 +02:00
Michal Dorner
0b18612ac3
Improve support for PR events + verify base and ref are used correctly 2021-04-12 16:29:29 +02:00
Michal Dorner
37a6d38b2d
Add ref input parameter 2021-04-07 22:32:59 +02:00
Michal Dorner
c90ecaa5a1
Increase default value of initial-fetch-depth to 100
For most situation it should be enough to find merge base. Previous value was too slow and overhead of doing fetch was significantly higher than saving of transfer.
2021-03-08 17:06:12 +01:00
Michal Dorner
b5fa2d5c02
Add list-files: csv format 2021-02-20 11:21:30 +01:00
Michal Dorner
9e8c9af501
Add "changes" output variable to support matrix job configuration 2020-12-17 22:33:11 +01:00
Michal Dorner
e4d886f503
Provide shell and escape options when formatting matching files 2020-12-17 22:13:28 +01:00
Michal Dorner
8b399ed168
Add minimal example to the top part of README 2020-10-01 10:55:29 +02:00
Michal Dorner
81c90ccae8
Change detection using git "three dot" diff (#35)
* Rework change detection via `git diff`

Previous implementation performed simple diff between two versions. New implementation fetches on demand more commits to have the merge base between two branches. Now it will detect only changes introduced by branch that was pushed, instead of mixing with changes introduced meanwhile on the base branch.
2020-09-01 22:47:38 +02:00
Michal Dorner
3f845744aa
Export files matching rules (#32)
* Export files matching rules

* Improve debug output

* Fix PR test workflow

* Always quote output path + fix PR test

* Use proper single quote escaping in workflow file

* Improve error handling and docs for list-files input parameter
2020-08-30 21:18:14 +02:00
Michal Dorner
f34047f516
Export changed files grouped by change status (#23) 2020-08-04 20:57:29 +02:00
Michal Dorner
caef9bef1f
Add working-directory input (#21) 2020-08-04 20:57:29 +02:00
Michal Dorner
83deb9f037
Improve change detection for feature branches (#16)
* Detect changes against configured base branch

* Update README and action.yml

* Add job.outputs example

* Update CHANGELOG
2020-06-24 21:53:31 +02:00
Michal Dorner
affb29871a
Support push event (#10)
* Support triggering from push event
* Add self-test to build workflow
* Update action metadata
2020-06-15 21:49:10 +02:00
Michal Dorner
1cbb925a17
Change detection via git + rename githubToken to token (#9) 2020-05-26 17:16:09 +02:00
Michal Dorner
a2e5f9f7bb
Filters input accepts path to external yaml file (#8)
* Filters input accepts path to external yaml file

* Fix formatting and eslint issues

* Fix file ext of filters yaml file

* Update documentation in README file
2020-05-24 22:50:33 +02:00
Michal Dorner
0612377665
Do not require user provided githubToken input (configure default) (#7)
* Do not require user provided `githubToken` input  (configure default)

* Remove `edited` from workflow example

Idea of this example was to show setup where CI runs only when particular files are changed. Triggering workflow when name or description of PR is edited is not needed for this use case.
2020-05-24 21:17:51 +02:00
Michal Dorner
f9b6173f5e
Fixes - making action pass self-test (#3)
* Remove accidental string interpolation from action.yml

* Fix test workflow filters

* Improve self-test

* Add test case for matching any changed file

* Fix workflow test - step `name` was used instead of `id`

* Extend default pull_request trigger types

* Remove `edited` trigger to avoid executing workflow on non-code changes
2020-05-21 01:37:33 +02:00
Michal Dorner
350b8cb78b Rename github-token input to githubToken 2020-05-21 00:41:27 +02:00
Michal Dorner
f29479bb44 Update README and action metadata 2020-05-21 00:31:39 +02:00
Michal Dorner
b78de5e86b Initial commit 2020-05-20 17:03:08 +02:00