pgamerx / yt-dislikes-viewer

A browser extension that allows you to see dislikes on a youtube video after the youtube update
https://yt-dislikes-viewer.js.org
GNU General Public License v3.0
296 stars 20 forks source link

Adding webstore submission workflow #52

Closed louisgv closed 2 years ago

louisgv commented 2 years ago

Hi @pgamerx,

Love this extension! I was looking for ways to contribute, and thought adding a bit more ci might help. This PR introduces a new github action workflow that uses download-release-asset to download the latest release assets, and bpp to automatically submit the zip files to various extension stores. The action is set to run manually from the github action tab, but we can tweak it to run as frequent as needed! The only thing you would need to create is a SUBMIT_KEYS github repository secret.

This secret is a json, with the schema defined here.

Here's a sample key for you:

{
  "$schema": "https://raw.githubusercontent.com/plasmo-corp/bpp/main/keys.schema.json",
  "chrome": {
    "zip": "chromium.zip",
    "clientId": "123",
    "refreshToken": "789",
    "extId": "abcd"
  },
  "firefox": {
    "zip": "mozilla.zip",
    "extId": "123",
    "apiKey": "abcd",
    "apiSecret": "abcd"
  }
}

You can find instructions on how to get the keys in the schema, or in this doc. If you use vscode, the schema should provide hint/intelisense when hovering over the json properties. If you need any help in setting up the keys, feel free to @ me! Otherwise if this doesn't seem necessary, feel free to close the PR :)


Side notes: bpp is an open source action, together with its dependencies. You can audit the source as well as providing any issue/feedback here:

pgamerx commented 2 years ago

Thank you so much! I will review it once I get on my laptop

pgamerx commented 2 years ago

I have reviewed this, seems pretty good to me. But I have exams so I cannot do all the steps right now.

My exams end on 16th March,2022, I will merge this then. Thanks!

louisgv commented 2 years ago

Best of luck to your exam :D

On Sun, Feb 27, 2022, 4:42 AM PGamerX @.***> wrote:

I have reviewed this, seems pretty good to me. But I have exams so I cannot do all the steps right now.

My exams end on 16th March,2022, I will merge this then. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/pgamerx/yt-dislikes-viewer/pull/52#issuecomment-1053432983, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTJP5T4V5SFIDCQHWLZ4KDU5HW2BANCNFSM5POFCCJQ . You are receiving this because you authored the thread.Message ID: @.***>

pgamerx commented 2 years ago

Thanks

pgamerx commented 2 years ago

I finally have time to review this!

louisgv commented 2 years ago

Awesome! How was your final exams? :D

pgamerx commented 2 years ago

They were good, and they weren't my finals lol