Commit Graph

59 Commits

Author SHA1 Message Date
Peter Somogyvari
f90d5265d6
feat: add config parameter for predicate quantifier
Setting the new 'predicate-quantifier' configuration parameter to 'every'
makes it so that all the patterns have to match a file for it to be
considered changed.

This can be leveraged to ensure that you only build & test software changes
that have real impact on the behavior of the code, e.g. you can set up your
build to run when Typescript/Rust/etc. files are changed but markdown
changes in the diff will be ignored and you consume less resources to build.

The default behavior does not change by the introduction of this feature
so upgrading can be done safely knowing that existing workflows will not
break.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
2024-02-22 12:48:55 -08:00
Michal Dorner
1441771bbf
Update README.md
Add info about v3 release to What's New section
2024-01-25 08:13:18 +01:00
Michal Dorner
0bc4621a31
Bump major version to v3
Node version has been updated to 20 which might be a breaking change.
2024-01-25 07:48:07 +01:00
Michal Dorner
67617953b4
Update examples in README to use checkout@v4 2024-01-24 15:51:01 +01:00
iamtodor
fc3b4e8a61 added py_linter.yaml link to demo repo 2022-12-03 13:03:55 +00:00
iamtodor
fbb4d78dec
Update README.md
added blog post about this plugin's configuration and usage
2022-12-03 13:55:58 +01:00
Michal Dorner
c763b521be
Document need for pull-requests: read permission 2022-10-12 22:11:12 +02:00
Idan Yaffe
e0f036e43d updating to actions/checkout@v3 in order to avoid the set-output deprecation warning 2022-10-12 12:21:43 +02:00
Austin Pray
a458940404
Updates real world links
These pinned commits have changed a lot in the default branches
2022-10-07 11:55:03 -05:00
Josh Soref
74cfa7995e
Markdown fixes 2021-07-07 23:52:11 -04:00
Josh Soref
a0e43af4ae
Split yaml sections 2021-07-07 23:33:53 -04:00
Josh Soref
b7a9db5c9b
brand: GitHub 2021-07-07 23:32:59 -04:00
Michal Dorner
aae9c5619e
Fix some grammar issues in README 2021-04-19 22:18:44 +02:00
Michal Dorner
58ed00ec48
Update README 2021-04-11 20:49:05 +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
1cdd3bbdf6
Fix typo in README 2021-02-24 11:24:20 +01:00
Michal Dorner
febe8330ca
Update README and CHANGELOG 2021-02-20 11:28:11 +01:00
Michal Dorner
b5fa2d5c02
Add list-files: csv format 2021-02-20 11:21:30 +01:00
Michal Dorner
e2bed85912
Mention test-reporter in README 2021-02-01 21:58:39 +01:00
Michal Dorner
c2766acabb
Add ${FILTER_NAME}_count output 2021-01-29 19:54:44 +01:00
Michal Dorner
4e7fcc37b4
Fix link to CHANGELOG in README 2020-12-17 22:54:24 +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
Laurent Gatto
3c5b7d242c
Update README.md 2020-12-17 08:57:31 +01:00
Michal Dorner
181b35e268
Update docs for v2.6.0 2020-11-22 21:17:07 +01:00
Michal Dorner
1934d574ce
Support local changes 2020-11-22 20:59:32 +01:00
Michal Dorner
eb8fe2c24b
Update dist/index.js and docs after PR #50 2020-11-13 18:55:57 +01:00
Michal Dorner
b4eabb6049 Use picomatch + impl followups from #48 2020-11-09 00:45:53 +01:00
Billy Vong
5282566eab feat: Add support for multiple patterns when using file status
This adds support for using multiple patterns when checking for file status (added, modified, deleted) and as a result also allows you to use YAML anchors.
2020-11-06 17:41:51 -08:00
Billy Vong
804ec66d7a
Fix typo in README example (#47)
The example was missing `outputs`
2020-11-03 09:23:07 +01:00
Michal Dorner
b37d4e9e86
Use micromatch instead of minimatch (#46)
* Use micromatch instead of minimatch

micromatch claims to support full Bash 4.3 spec and it actually passes all the tests. 
For example this fixes processing of '!(**/*.tsx|**/*.less)' pattern - needed by #45

* Update CHANGELOG.md
2020-10-23 12:33:44 +02:00
Michal Dorner
7b5334ddb5
Add links to some real world usage examples 2020-10-17 22:38:15 +02:00
Michal Dorner
75cbfb4be9
Support workflows triggered by any event (#44)
* Allow change detection on all event types

* mention commit SHA in docs for base parameter

* improve logging

* update CHANGELOG.md
2020-10-16 12:28:12 +02:00
Michal Dorner
9553dabbd8
Remove usage of --no-auto-gc option (#42)
* Remove usage of --no-auto-gc option

This option is not supported in git versions < 2.23.
Older git versions might be used in self-hosted runners.

* Update CHANGELOG
2020-10-06 13:38:18 +02:00
Michal Dorner
8b399ed168
Add minimal example to the top part of README 2020-10-01 10:55:29 +02:00
Michal Dorner
ff5bb057bf
v2.4.0 - support local execution with act + allow tags (#40)
* Avoid code repetition with exec() and output listeners

* Improve behavior for new branches and when it's running in ACT

* Detect parent commit only if needed

* Fix parent commit detection for initial commit

* Improve logging

* Improve current ref detection

* Fix issue when base is a already fetched tag

* Fix issue when base is a already fetched tag

* Update README

* Document usage with act

* Use `git log` to get changes in latest commit

* Disable other output for `git log`

* get short name from base ref + improve loggig

* update CHANGELOG
2020-09-30 00:32:49 +02:00
Michal Dorner
d9e86af7c0
Small improvement to project description 2020-09-14 18:49:18 +02:00
Michal Dorner
adb239d623
Add hint to use fetch-depth for feature branch workdlow 2020-09-14 18:09:37 +02:00
Michal Dorner
b4f32c4f08
Reworked README for v2.3 release (#37) 2020-09-14 17:19:32 +02:00
Michal Dorner
483986d0a7
Merge branch 'master' into develop 2020-08-14 22:03:31 +02:00
Michal Dorner
3b817c9974
Add support for pull_request_target (#30)
Complements previous commit:
 - adds modified index.js
 - bumps version to 2.2.1
2020-08-13 21:55:56 +02:00
Michal Dorner
1ff702da35
Extend filter syntax with optional specification of file status: add, modified, deleted (#22)
* Add support for specification of change type (add,modified,delete)

* Use NULL as separator in git-diff command output

* Improve PR test workflow

* Fix the workflow file
2020-08-04 20:57:29 +02:00
Michal Dorner
caef9bef1f
Add working-directory input (#21) 2020-08-04 20:57:29 +02:00
Daksh Shah
e1ae9889cb
Fix multiple jobs workflow example (#25) 2020-07-16 12:33:30 +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
7d201829e2
Support reusable paths blocks via yaml anchors (#13)
* Add support for nested arrays of path expressions

* Remove pull_request trigger type options

Default value is fine: opened, synchronize, reopened

* Add CHANGELOG

* Update README
2020-06-19 23:39:06 +02:00
Michal Dorner
4eb15bc267
Update README
Add links to pull_request / push events that trigger workflows
2020-06-15 22:15:38 +02:00
Michal Dorner
9ef7936e79
Fix URL in README 2020-06-15 21:57:00 +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
Tonye Jack
910e8b1235
Update README.md (#11)
* Update README.md

* Update version
2020-06-14 23:04:35 +02:00