Skip to content

Commit

Permalink
Merge pull request #51 from plasmo-corp/master
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch authored Feb 27, 2022
2 parents 0521d78 + 61928a9 commit 298eac2
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
28 changes: 28 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: automerge
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14.x"

- name: Install dependencies
run: npm install
- name: Build
run: npx gulp 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 }}
23 changes: 23 additions & 0 deletions .github/workflows/submit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Submit

on:
workflow_dispatch:
inputs:
tag:
description: "Release tag to submit, i.e 0.4.3"
required: true

jobs:
submit:
runs-on: ubuntu-latest
steps:
- name: Download Github Release Assets
uses: plasmo-corp/download-release-asset@v1.0.0
with:
files: Archive-*
tag: ${{ github.event.inputs.tag }}
- name: Browser Plugin Publish
uses: plasmo-corp/bpp@v1
with:
artifact: "Archive-${{ github.event.inputs.tag }}.zip"
keys: ${{ secrets.SUBMIT_KEYS }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.vscode/
*.zip
extra/archives/
node_modules/
node_modules/
keys.json

0 comments on commit 298eac2

Please sign in to comment.