diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..7ebde4d --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,22 @@ +name: automerge +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: yarn install + - run: yarn build + automerge: + needs: build + runs-on: ubuntu-latest + + permissions: + pull-requests: write + contents: write + + steps: + - uses: fastify/github-action-merge-dependabot@v3.0.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/submit.yml b/.github/workflows/submit.yml new file mode 100644 index 0000000..5ebcd3d --- /dev/null +++ b/.github/workflows/submit.yml @@ -0,0 +1,15 @@ +name: "submit" +on: + workflow_dispatch: + +jobs: + submit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: yarn install + - run: yarn build + - name: Browser Plugin Publish + uses: plasmo-corp/bpp@v1 + with: + keys: ${{ secrets.SUBMIT_KEYS }} diff --git a/.gitignore b/.gitignore index 21b0d47..e2d67e8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ builds build *.zip .eslintcache +keys.json \ No newline at end of file