Skip to content

Commit

Permalink
Merge pull request #20 from preqldata/june_auto_update
Browse files Browse the repository at this point in the history
June auto update
  • Loading branch information
greenmtnboy authored Jun 22, 2024
2 parents 88c2e2d + aac3d8f commit e714aaf
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip"
directory: "/backend/requirements.txt" # Location of package manifests
schedule:
interval: "daily"
21 changes: 21 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Auto approve and merge dependency bump PRs

on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
auto-approve:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- run: gh pr review --approve "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
- run: gh pr merge --auto --squash "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
3 changes: 2 additions & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ def run():

f = open(os.devnull, "w")
sys.stdout = f
run = uvicorn.run(
def run():
uvicorn.run(
app,
host="0.0.0.0",
port=PORT,
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "trilogy-studio",
"private": true,
"version": "0.0.9",
"version": "0.0.10",
"description": "A desktop IDE for querying, creating, and debugging PreQL models.",
"author": {
"name": "Trilogy/PreQL Team",
Expand Down

0 comments on commit e714aaf

Please sign in to comment.