Skip to content

Commit

Permalink
init workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gershido committed Mar 7, 2024
1 parent 7e26443 commit 9200ac5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ on:
workflow_dispatch:
push:
branches:
- main
- v1
paths:
- "modules/*.json"
- "infra/*.json"

jobs:
test:
bundle:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.MODULES_REGISTRY_BOT_TOKEN }}
ref: v1
- name: Setup node
uses: actions/setup-node@v3
with:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Merge"

on:
workflow_dispatch:
push:
branches:
- submissions

jobs:
merge:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.MODULES_REGISTRY_BOT_TOKEN }}
- name: Merge
run: |
git config user.name modules-registry-bot
git config user.email [email protected]
git fetch --unshallow
git checkout v1
git pull
git merge --no-ff submissions -m "Auto-merge"
git push

0 comments on commit 9200ac5

Please sign in to comment.