Commit Graph

179 Commits

Author SHA1 Message Date
Viktor Radchenko
397e0e8235
Update merge-fee-bot.yaml 2020-08-14 15:04:18 -07:00
Adam R
6969705437
[internal] Enable fix auto commit on PRs (does not trigger CI run). (#3269)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 15:31:48 +02:00
Adam R
247b61d057
Revert to GETHUB_TOKEN; special token not available in fork PRs. (#3266)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 12:47:26 +02:00
Adam R
2ad47ec570
[internal] Fix Danger permission (#3261)
* Danger: fix permission, use DANGER token.

* Bogus file, to trigger error.

* Remove bogus

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 12:01:26 +02:00
Adam R
197613e61c
[internal] Set up Danger build on PR (#3243)
* Return all error messages from checks (to be used by Danger).
* Add Danger dev dep.
* Fix danger.yml + dangerfile.ts.
* Fix root files.
* Finetune Danger message.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 10:03:28 +02:00
Adam R
294d8bcb5d
[internal] Fixes and Checks: separate into consistency and sanity (#3197)
* rename to sanityFix
* Infra for consistency checks and Fixes.
* Whitelist check moved to consistency check only.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-10 10:56:41 +02:00
Adam R
bea2003184
[internal] More manual-trigger builds. (#3166)
* More manual-trigger builds.

* Yaml syntax fix.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-08 23:01:45 +02:00
Adam R
316c72eb9f
Experiment with manual-trigger for builds. (#3165)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-08 22:46:34 +02:00
Adam R
606d1a8e6f
Fix commit: disable on forks, as commit there causes no CI runs. (#3124)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 14:09:49 +02:00
Adam R
662662843e
[Internal] Fix build uses different tokens (#3121)
* Fix build uses different tokens.

* If expression syntax

* Restrict Upload to main repo, remove echo

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 12:47:01 +02:00
Adam R
8d53548052
[Internal] One fix build for all. (#3117)
* One fix build for all.

* Yaml formatting.

* Run formatting 2

* Ysaml formatting 3

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 11:29:42 +02:00
Adam R
5d8ed57d09
Fix build for forks. (#3116)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 10:56:27 +02:00
Adam R
319db19d4f
Fix PR on pull_request_target event. (#3115)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 09:51:03 +02:00
Adam R
d17d58e100
Fix-pr build must be on a branch, to be able to commit. (#3112)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 08:03:20 +02:00
Adam R
1afc0507ca
Fix-pr build: ref, not head_ref. (#3111)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 07:58:54 +02:00
Adam R
0c5ded0ce0
Remove git diff. (#3110)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 07:47:07 +02:00
Joshua Stone
333e6a3f82
Add POMP token logo (#3098)
* Add POMP token

Contract Address: 0x3f7D27c41fdCD1Afc660F64290d314e08ea576Ea
Website: https://pomp.finance
Etherscan: https://etherscan.io/address/0x3f7D27c41fdCD1Afc660F64290d314e08ea576Ea
Contact: contact@pomp.finance

* Update logo.png

compress image

* Update whitelist.json

updated whitelist

* Experiment with fix build running on the PR, 2nd take, now with GH_T (fix-pr)

* Fixes (whitelist, info formatting).

Co-authored-by: zachzwei <35627271+zachzwei@users.noreply.github.com>
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 07:28:45 +02:00
Adam R
102f2b88d4
[Internal] New infra for runnig checks (not as jest tests) (#2938)
* CMC mapping update.

* New check infrastructure, move root folder test to new infra.

* Move list of allowed files to config.

* Include new check in other tests.

* More generic way to call checks.

* Organize fix and update actions behind interfaces.

* Organize checks into steps, multiple steps per action.

* Simplify checkStep class/instance creation.

* Migrate chain logo checks.

* Migrate asset folder check.

* Migrate further chain checks.

* Migrate eth fork folder checks.

* Migrate binance chain check.

* Extra output.

* Output improvements.

* Async fix.

* Migrate Tron check.

* Add Tron check.

* Remove Tron check from old.

* White/blacklist check in new intra, combined with fix.

* Refine ETH checks.

* Remove from old infra.

* Migrate CMC check to new infra.

* Migrate validator tests to new check infra.

* Migrate Json files validity check to new check infra.

* Whitelist check fix.

* Cleanup helpers.ts.

* Move helpers.ts.

* Cleanup of models.ts.

* Move models.ts.

* Move index.test.ts.

* Update with BEP8 support.

* Descriptive names for jobs within the builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-06 21:17:38 +02:00
Adam R
dd89649082
Fix-pr does not work, due to credentials issue; removing it. (#3052)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-05 12:59:39 +02:00
Adam R
8ee083935c
Experiment with fix build running on the PR (fix-pr). (#3051)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-05 12:45:13 +02:00
Adam R
201ba902c0
Reduce TWT fee to 1000 (from 2000), in reaction to rate increase. (#3033)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-04 16:26:42 +02:00
Adam R
5fc5df8203
Add to bot message rule of max 10 logos per PR. (#2934)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-31 12:25:48 +02:00
Adam R
140142dafe
[Internal] Add token to fix build checkout (failed without). (#2944)
* CMC mapping update.

* Yaml formatting.

* Add token to fix build checkout (failed without).

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-30 06:59:24 +02:00
Adam R
079617ac38
[Internal] Refactored fix builds (#2920)
* Empty infrastructure for new-housekeeping build.

* Move updateBEP action to new new-housekeeping build infra.

* Remove old updateBEP.

* New-housekeeping-dryrun run.

* Include new top-level folder name script-new.

* Remove update:bep2 from old daily-run.

* Use imports instead of require.

* Small refactor for testability.

* Organize scripts into subfolders.

* iUpdateBEP2: refactor and add tests.

* Move formatting validators to new-housekeeping,add new helpers.

* Move info and black/whitelist fixing to new-housekeeping.

* New fix command.

* New 'fix' target; Move ETH checksum fix to new-housekeeping.

* Move logo size check and resize to new-housekeeping.

* Improved async error handling.

* Build renames.

* Move (old) BEP2 and CMC update to periodic update build.

* Rename (add missing).

* Rename builds.

* Renames ('fix').

* rename

* Invoke new scripts (as well) from period-update.

* Move cmc update to new-periodic.

* Move tezos validator update to new-periodic.

* Missing file.

* Leftover.

* Cleanup

* Rename of unused openseacontracts.

* CMC should not be run always.

* Break main/fixAndUpdate function into two.

* Show diff in build after changes.

* Cleanup

* Rename, script-old.

* Cleanup, remove old fix build definitions.

* Renames, remove new- prefix.

* CMC mapping update.

* Config infrastructure; add binance URL to config.

* Add image size parameters to config.

* Rename.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-29 15:42:51 +02:00
Adam R
83cb3aaa5b
Git checkout token in fix-dryrun build. (#2917)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-28 10:26:37 +02:00
Adam R
309944a41c
Fix Dryrun build on PRs -- try fix updates, without checkin. (#2915)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-28 07:41:11 +02:00
Adam R
741e78e67a
Rename builds. (#2896)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-28 07:22:28 +02:00
Adam R
06a1ab4105
[Internal] Clarify Correct and Update builds. (#2872)
* Rename to correct and periodic-update.

* Adjust build names.

* Move updates with external sources (BEP2 logos, CMC) from correct to periodic-update.

* Run periodic-update twice a day.

* Split correct into check-all and correct parallel builds.

* Rename, test instead of check.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-25 01:49:07 +02:00
Viktor Radchenko
edbee267e7
[CI] Upload assets repo to S3 bucket (#2832)
* [CI] Upload assets repo to S3 bucket

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Include blockchains

* Update pr-ci.yml

* Update pr-ci.yml
2020-07-21 17:48:14 -07:00
Adam R
9552fb891a
Bot config: add user catenocrypt, remove kolya. (#2815)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-20 10:45:51 +02:00
Nick Kozlov
72a117205a
Update update_validators_info.yml 2020-07-03 23:24:37 +03:00
Mykola
64535affa7 Remove assignee 2020-06-25 12:20:44 -07:00
Adam R
f88b99efb5
Merge bot config: Make closing message more informative (#2457)
* Merge bot config: Make closing message more informative.

* Punctuation.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-23 20:35:25 +08:00
Adam R
96a4367431
Merge bot config: Include zachzwei github user. (#2385)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-16 08:37:23 +02:00
Adam R
5ea9824c49
Merge-bot config: add user kolya182 as assign-on-pay. (#2378)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-15 14:04:47 +02:00
Adam R
7ac16c4070
Include tagged user in Paid message. (#2272)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-05 16:58:19 +02:00
Catenocrypt
194060bb81 Include tx explorer link in Paid message (new varaible). 2020-06-01 05:41:33 +02:00
Adam R
98cef8aa0c
Set reviewCreated message, fix for repeated 'paid' message. (#2220)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-30 09:36:06 +02:00
Adam R
5614cff795
Finetune merge fee bot messages. (#2208)
* Finetune merge fee bot messages.
* No comment for approve review.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-29 16:58:16 +02:00
mykola.eth
5a9e2a8622
Update cmc generation script (#2143) 2020-05-20 14:52:27 -07:00
Mykola
350043d8d7 Return TezoSteam and StakingTeam back to validators list. 2020-05-08 12:09:00 -07:00
mykola.eth
2ea9b74361
Add Tezos baker min delegation amount property (#2039) 2020-05-06 17:13:12 -07:00
Adam R
b830afb463
Merge bot config: Yaml format fix. (#2038)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-06 23:41:53 +02:00
Adam R
ebd402e72d
Merge-bot config: Extend message when paid; set amount tolerance to 98%. (#2036)
* Merge-bot config: Extend message when paid; set amount tolerance to 98%.
* Extra newline in message.
* Use 96% tolerance.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-06 23:35:51 +02:00
mykola.eth
e07451bb86
Add PR test CI (#1997)
* Add PR test CI

* fix syntax

* run

* Add cache

* remove unused commit script

* Disable restore-keys

* Add condition to skip install if cache true

* .

* Update packages

* Update cmc map

* node v

* temp disable cache

* on

* .

* skip check

* try new cache

* Change badge run test
2020-04-27 12:47:15 -07:00
Adam R
2e10ba7e39
Merge-fee-bot config: Reduce reminder frequency, reduce closing time. (#1984)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-25 18:56:33 -07:00
mykola.eth
32970001ed
Add auto assign (#1958)
* Add auto assign

* Use codeowners
2020-04-24 11:41:19 -07:00
mykola.eth
c93a32408e
Add auto update validators info (#1959) 2020-04-24 10:33:05 -07:00
Adam R
6518684c9f
Adjust price to 1 BNB (0.5 was left in static text). (#1960)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-23 06:21:32 +02:00
Adam R
10bcb6ed69
Merge bot: Increase fee amount (2000 TWT, 1.0 BNB). (#1952)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-22 11:00:21 -07:00
Adam R
89a291a89b
Merge bot config: add reminder message (#1951)
* Merge-fee-bot configuration: add maxIdleRemindHours: 13.
* Merge bot config: add reminder message.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-22 11:53:59 +02:00
Adam R
fc91f1ccf8
Merge-fee-bot configuration: add maxIdleRemindHours: 13. (#1945)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-21 22:15:04 +02:00
Adam R
e4a2904dc0
Merge-fee-bot config for auto close. (#1935)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-20 23:43:14 +02:00
Mykola
8e4333a998 Remoe test script 2020-04-20 13:26:46 -07:00
mykola.eth
e19f1e9f1d
Run all script in daily update action (#1934)
* Run all script in daily update action

* Run all scripts
2020-04-20 13:15:31 -07:00
Mykola
ffc7e6559d Use Danger token for format action 2020-04-20 12:02:28 -07:00
elenixatzaa
b397f43feb
Add logo to Cybitex token (#1928)
* Add logo to Cybitex token

* Try add env to access token in forked PR

* Use GITHUB_TOKEN directly

* Daily update

* checksum

* Daily update

Co-authored-by: mykola.eth <3277207+kolya182@users.noreply.github.com>
Co-authored-by: Mykola <kolya182@gmail.com>
Co-authored-by: kolya182 <kolya182@users.noreply.github.com>
2020-04-19 23:35:46 -07:00
Mykola
970e7964d2 Remove image compression 2020-04-19 12:16:12 -07:00
Mykola
dd5a65769e Temp disabe image compression on PR 2020-04-19 12:10:36 -07:00
Mykola
a929dbeba5 fix token 2020-04-16 19:52:48 -07:00
mykola.eth
440bc104de
Add daily update action and formatter (#1882)
* Run image compression on very push to master

* Add contract in lowercase for test

* Add daily updater

* Add formatter on every pull,push to branches

* Remove  dublicates

* Fix run syntax

* Fix syntax

* Run image compression only when push to master

* Run formater on all PR, exept master

* Add npm cache

* Add branches

* Try fix rename issue on ci

* Add trailing slash

* remove trailing

* Move uses in step

* remove dash from uses

* Run each npm run individually

* remove name

* remove checksum

* rename to jpg

* Add AMATEN (AMA) lowercase

* debug

* Run checksum after formating

* USet lates checkout and commit to branch innsted deatached head

* Checkout to branch in checkout

* Fix version

* Add formating

* Add formating

Co-authored-by: kolya182 <kolya182@users.noreply.github.com>
2020-04-16 19:27:40 -07:00
Adam R
75817c3014
Update labels used by merge-fee-bot. (#1887)
* Update labels used by merge-fee-bot.

* Optimised images with calibre/image-actions

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-16 21:34:45 +02:00
mykola.eth
d6d2606101
Pr/1874 (#1879)
* LikeApp Update Logo and Info

popular global platform for creating and sharing original videos.

* move

* short_description

* Check info asset keys

* f

* Try access gituhb token

* Optimised images with calibre/image-actions

* Use corret size to match agains existing file

* Access branch name

Co-authored-by: likeappofc18 <63719781+likeappofc18@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-15 16:29:52 -07:00
mykola.eth
fc235f7602
Geopay master (#1873)
* Include iBBT Utility Token to the Trustwallet

* InterGalactic Credits CREE

InterGalactic Credits (CREE) are used as a multi-purpose mediation instrument to interact with other decentralized interPlanetary Nodes.

* Add 2 more coins for iBBT.

iBBT Alexander Commemorative Token, and GEO Rewards ORCA.

* Added 4 new iBBT.io Tokens

Added to Trust Wallet 4 new ibbt.io tokens;

Mythril Ore (ORE)
Med. Cannabis Note (₵)
Dollar Blocknote ($)
Realblock.io (REAL)

* Add Generator actions

* Checksum

* Optimised images with calibre/image-actions

* rm lowercase

* Fix syntax

* Change syntax

* Add on push

* Move uses from step

* Define uses in run in each step

* try

* Fix token handler

* Use action to push changes to pr branch

* GITHUB_REF

Co-authored-by: Antonis Valamontes <tony@geopay.me>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-14 21:50:28 -07:00
Viktor Radchenko
dd5ee5ca57
Update danger.yml 2020-04-14 16:14:00 -07:00
Mykola
43b69e3197 Fix denger key 2020-04-14 13:31:09 -07:00
Adam R
0bdb8f3100
Merge-fee-bot message, minor formatting. (#1868)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-14 11:38:27 +02:00
Adam R
f8f471b57c
Update merge-fee-bot message, nicer formatting for payment params, … (#1864)
* Update merge-fee-bot message, nicer formatting for payment params, mention FAQ.
* Optimised images with calibre/image-actions
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-14 09:42:23 +02:00
Viktor Radchenko
84c4db9482
Add Danger (#1857)
* Add Danger

* Create Dangerfile

* Add Gemfile

* Rename danger to danger.ci

* Rename danger.ci to danger.yml

* Update Dangerfile

* Add validate JSON

* Add find

* Add image and json validation

* Add Payment: Paid for stale

* Add validation for info.json, list.json files and check file names

* Add Payment: Unpaid

* Optimised images with calibre/image-actions

* Add validation for whitelist and blacklist

* Update helpers.ts

* Update Dangerfile

* Optimised images with calibre/image-actions

* Update danger.yml

* Remove uppercase logo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mykola <kolya182@gmail.com>
2020-04-13 21:06:13 -07:00
Viktor Radchenko
dedd6ca7b6
Integrate Stale (#1856)
* Create stale.yml

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-13 11:19:55 -07:00
Adam R
5944703e13
Update merge-fee-bot message. (#1812)
* Update merge-fee-bot message.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-11 07:24:11 +02:00
Adam R
58ba4ca4e0
Merge-fee-bot config file (#1785)
* Configuration for Merge-fee-bot.
* Update to new addr.
* Optimised images with calibre/image-actions
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-10 00:09:01 +02:00
hewig
a82dc80d23
Delete lowercase_files.yml 2019-09-29 11:03:17 +08:00
hewig
b6b66ea4cc
Update lowercase_files.yml 2019-09-29 10:46:59 +08:00
hewig
169e32dae5
Add lowercase_files.yml 2019-09-29 10:33:15 +08:00
Viktor Radchenko
391bd84521
Update and rename main.yml to compress_images.yml (#203)
* Update and rename main.yml to compress_images.yml

* Change jpeg images to png

* remove malformed png file

* Optimised images with calibre/image-actions
2019-09-14 17:16:14 -07:00
Viktor Radchenko
3522281d52
Delete compress_images.yml 2019-09-13 18:17:21 -07:00
Viktor Radchenko
945128b957
Compress images 2019-09-13 18:15:59 -07:00
Mykola
75d32d5e22 Update issue templates 2019-08-29 17:56:54 -07:00