Wagner Santos
15aa3a746a
ci: fix Dockerfile replacement logic on workflow
2021-01-28 19:10:17 -03:00
Wagner Santos
072351755b
ci: replace set-env calls with $GITHUB_ENV file
...
Due to security reasons, ::set-env command doesn't work anymore. The new method of
updating env vars dynamically is through the $GITHUB_ENV file.
2020-11-21 06:32:32 -03:00
Wagner Santos
a70da87c5c
ci: fix changelog not being populated during release
...
Fixes #54
2020-09-14 08:56:46 -03:00
Wagner Santos
7dc04121c2
ci: cache npm dependencies on CI
2020-08-22 06:50:33 -03:00
Wagner Santos
7ccafb1f5f
ci: add release job
2020-08-22 06:50:29 -03:00
Wagner Santos
18e9bff0e6
feat: use action input instead of env var to get the github token
...
BREAKING CHANGE: GITHUB_TOKEN env var is now ignored. In case a custom token is needed,
it'll be necessary to pass it via the `token` input from now on.
2020-08-02 11:23:03 -03:00
Wagner Santos
8d360d2e46
ci: add example that shows json results
2020-08-02 06:49:39 -03:00
Wagner Santos
2f14e0504a
ci: use node 12 when running tests
2020-07-03 15:56:43 -03:00
Wagner Santos
1a7a9181b9
ci: add a job that pulls the action from docker hub
2020-07-03 15:56:43 -03:00
Wagner Santos
341b9514fa
docs: update usage to explain how to use it with actions/checkout@v2
2020-01-05 06:55:27 -03:00
Wagner Santos
c8ff3dcea8
test: show coverage in CI tests
2019-12-09 20:29:48 -03:00
Wagner Santos
eac721a186
test: add tests for the action
2019-12-09 20:12:53 -03:00
Wagner Santos
8dd0fbf821
fix: errors not showing when PR has only one commit
2019-11-24 09:21:32 -03:00
Wagner Santos
213c2974cb
ci: fix action always working on CI
2019-11-23 18:34:21 -03:00
Wagner Santos
99b068a844
fix: lerna scopes not working due to missing lerna dependency
...
`@commitlint/config-lerna-scopes` package depends on lerna but doesn't have `lerna` listed in its dependencies, so the action was failing. Since this action doesn't run in the repo's context, we need to install lerna as a dependency to make it work.
2019-10-18 16:44:52 -03:00
Wagner Santos
02bab91ad9
test: build action docker image locally when running tests
2019-10-15 11:00:31 -03:00
Wagner Santos
23cd801837
feat: add ability to run commitlint on events that are not pull requests
...
For any event that is not of type `pull_request`, we consider there will be a `GITHBU_SHA` defined and run lint against only this specific commit
sha.
This supports not only events of type `pull` but also other events that provide us a `GITHBU_SHA`, like `check_suite`.
2019-10-15 10:23:56 -03:00
Wagner Santos
beb4b9b431
test: add second commitlint check using yml file instead of js
2019-10-08 13:19:58 -03:00
Wagner Santos
0a5bea362b
chore: add commitlint workflow using the local action
2019-10-04 00:18:00 -03:00