Commit graph

24 commits

Author SHA1 Message Date
Rohit Gohri
c7691e3200 chore: run validate script only when run directly 2020-05-03 23:00:51 +05:30
Chris
8b7b72c5dd
Add Scotland flag (#693) 2020-03-02 11:22:31 +02:00
Gatare Libère
c489e2e915
Update flags.js 2020-02-19 19:21:13 +02:00
Hugo
e20e0f5991 feat: comment on PR with validation outcome (#503)
* comment on PR after validation run.

* bork my url for sample output

* populate GITHUB_TOKEN in action

* more verbose logging

* more logging

* fix wrong import

* logging

* remove logging & implementation attempt

* log out comment creation query output

* styling

* prettify comments + increase logging

* more prettifying of the text

* Revert "bork my url for sample output"

This reverts commit 0c6d17450e753cd407db69a8129bf0cbc5831b88.

* add data change to trigger GH action

* improve messages...

* change my URL so it appears in the message

* more formatting of comments

* move + rename commentPullRequest -> utils.communicateValationOutcome
2020-01-22 00:15:35 +02:00
Andrew Luca
7893bc510c
chore: downgrade scripts support to node 12 (#473)
From start scripts needed to be run with node 13 (esm support)
Because data.js was a esm export, and needed to be compiled
Moved all scripts to commontjs, and data.js file
So can be imported by scripts without compiling
2020-01-20 22:37:32 +02:00
Andrew Luca
d875cb6312
fix: await branch name in validate action 2020-01-19 15:59:34 +02:00
Andrew Luca
86b6b5d6d3
feat: change validate action to take into consideration only add… (#422)
`node scripts/data-valdiate.js` cand also be run locally

This also will fix the issue when some valid URL returned timeout
Because the action wanted to make all requests at the same time

`git restore` is available only from Git 2.23

https://github.blog/2019-08-16-highlights-from-git-2-23/#experimental-alternatives-for-git-checkout

Closes #382
2020-01-18 15:27:15 +02:00
Hugo
367d14a4e3 feat(add-euro): allow european union flag (#380) 2020-01-14 15:13:03 +02:00
Hugo Di Francesco
1df5931b5a exit fine locally 2020-01-13 18:04:04 +00:00
Hugo Di Francesco
053874e441 make action fail on failure... 2020-01-13 18:02:15 +00:00
Hugo Di Francesco
bc1475090f Merge remote-tracking branch 'upstream/master' into check-url 2020-01-13 17:40:18 +00:00
Hugo Di Francesco
2bd152678b increase request timeout 2020-01-13 16:11:01 +00:00
Hugo Di Francesco
0e4168908c only fail on 4xx, 5xx and other real errors 2020-01-13 15:52:44 +00:00
Hugo Di Francesco
d681750ba2 change wording of output 2020-01-13 15:46:03 +00:00
Hugo Di Francesco
2ed2ea5ca1 make sure uses URLs 2xx 2020-01-13 15:38:23 +00:00
Hugo Di Francesco
883dca16ff allow only uses URLs 2020-01-13 15:33:56 +00:00
Wes Bos
7c1574accf 🏳️‍🌈 2020-01-10 15:40:22 -05:00
Wes Bos
3a9ce9d6be better validation 2020-01-10 13:44:02 -05:00
Wes Bos
52e9c7f3f9
Merge pull request #279 from iamandrewluca/validate-data
feat: add action to validate data.js
2020-01-10 13:05:31 -05:00
Wes Bos
19e811e21f yep 2020-01-10 12:36:14 -05:00
Wes Bos
699ee0b51b update readme 2020-01-10 12:25:29 -05:00
Wes Bos
8958f489c0 update action 2020-01-10 12:13:55 -05:00
Andrew Luca
ad8cc4a9be
feat: add action to validate data.js
Closes #141
2020-01-10 19:07:55 +02:00
Andrew Luca
5f2dc8ad7a
feat: add action to generate readme.md from data.js
Closes #155
2020-01-09 20:10:59 +02:00