From 41e72c89b13f1246755b8a48e1873307cecf20a2 Mon Sep 17 00:00:00 2001 From: Louis <6723574+louisgv@users.noreply.github.com> Date: Wed, 23 Feb 2022 19:38:33 -0400 Subject: [PATCH] Adding github action for automated submission and automerge dependabot prs --- .github/workflows/automerge.yml | 16 ++++++++++++++++ .github/workflows/submit.yml | 15 +++++++++++++++ .gitignore | 1 + 3 files changed, 32 insertions(+) create mode 100644 .github/workflows/automerge.yml create mode 100644 .github/workflows/submit.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..cf7e31d --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,16 @@ +name: automerge +on: [pull_request] + +jobs: + 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