Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into 214-dev-add-vscode-ta…
Browse files Browse the repository at this point in the history
…sk-which-does-the-full-PR-view (#216)

Auto-created
  • Loading branch information
MartinBernstorff authored Nov 19, 2023
1 parent be802d6 commit 74d713f
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "PR",
"type": "shell",
"command": "make pr-status",
"group": "test",
"dependsOn": [
"Lint",
"Test",
"Static type check",
"Setup PR",
],
"presentation": {
"reveal": "always",
"group": "pr"
}
},
{
"label": "Lint",
"type": "shell",
"command": "make lint",
"presentation": {
"reveal": "always",
"group": "pr"
},
"problemMatcher": []
},
{
"label": "Setup PR",
"type": "shell",
"command": "make setup-pr",
"presentation": {
"reveal": "always",
"group": "pr"
},
"problemMatcher": []
},
{
"label": "Test",
"type": "shell",
"command": "make test",
"presentation": {
"reveal": "always",
"group": "pr"
},
},
{
"label": "Static type check",
"type": "shell",
"command": "make types",
"presentation": {
"reveal": "always",
"group": "pr"
}
}
]
}
6 changes: 6 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ pr-status:
@gh pr view | cat | grep "title"
@gh pr view | cat | grep "url"

setup-pr: ## Update everything and setup the PR
@make merge-main
@make push
@make create-pr
@make enable-automerge

pr: ## Run relevant tests before PR
@make merge-main
@make push
Expand Down

0 comments on commit 74d713f

Please sign in to comment.