8000 CI: adding workflow_dispatch (#136) · scientific-python/MeeseeksDev@ba221d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba221d0

Browse files
authored
CI: adding workflow_dispatch (#136)
* CI: adding workflow_dispatch * CI: default branch has been renamed * CI: update VM version * MAINT: shutting up mypy complaints
1 parent 391980b commit ba221d0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Tests
22
on:
33
push:
4-
branches: ["master"]
4+
branches: ["main"]
55
pull_request:
6+
workflow_dispatch:
67

78
concurrency:
89
group: ci-${{ github.ref }}
@@ -11,7 +12,7 @@ concurrency:
1112
jobs:
1213
# Run "pre-commit run --all-files --hook-stage=manual"
1314
pre-commit:
14-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-latest
1516
timeout-minutes: 5
1617
steps:
1718
- uses: actions/checkout@v4

meeseeksdev/meeseeksbox/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def push_the_work(session, payload, arguments, local_config=None):
432432
"GET", f"https://api.github.com/repos/{org_name}/{repo_name}"
433433
).json()["default_branch"]
434434
repo.git.checkout(default_branch)
435-
repo.branches.workbranch.delete(repo, "workbranch", force=True) # type:ignore[attr-defined]
435+
repo.branches.workbranch.delete(repo, "workbranch", force=True)
436436
return succeeded
437437

438438

@@ -994,7 +994,7 @@ def keen_stats():
994994
succeeded = False
995995

996996
repo.git.checkout(default_branch)
997-
repo.branches.workbranch.delete(repo, "workbranch", force=True) # type:ignore[attr-defined]
997+
repo.branches.workbranch.delete(repo, "workbranch", force=True)
998998

999999
# TODO checkout the default_branch and get rid of branch
10001000

0 commit comments

Comments
 (0)
0