Skip to content

Commit d3f5745

Browse files
committed
Adding github action for automated submission and automerge dependabot
prs
1 parent 38fb852 commit d3f5745

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: automerge
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- run: yarn install
10+
- run: yarn build
11+
automerge:
12+
needs: build
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
pull-requests: write
17+
contents: write
18+
19+
steps:
20+
- uses: fastify/github-action-merge-dependabot@v3.0.0
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/submit.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "submit"
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
submit:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- run: yarn install
11+
- run: yarn build
12+
- name: Browser Plugin Publish
13+
uses: plasmo-corp/bpp@v1
14+
with:
15+
keys: ${{ secrets.SUBMIT_KEYS }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ builds
66
build
77
*.zip
88
.eslintcache
9+
keys.json

0 commit comments

Comments
 (0)