Skip to content

Commit bb1df1a

Browse files
committed
updating CI workflow file following default branch rename
1 parent b5cff06 commit bb1df1a

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
name: Run unittests
1+
name: CI
2+
23
on:
34
push:
45
branches:
5-
- master
6+
- main
67
pull_request:
78
branches:
8-
- master
9+
- main
910

1011
jobs:
1112
build:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. image:: https://github.com/cmendl/pytenet/actions/workflows/ci.yml/badge.svg?branch=master
1+
.. image:: https://github.com/cmendl/pytenet/actions/workflows/ci.yml/badge.svg
22
:target: https://github.com/cmendl/pytenet/actions/workflows/ci.yml
33
.. image:: http://joss.theoj.org/papers/10.21105/joss.00948/status.svg
44
:target: https://doi.org/10.21105/joss.00948

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def linkcode_resolve(domain, info):
126126
else:
127127
linestart, linestop = linenum, linenum + len(source) - 1
128128

129-
return f"https://github.com/cmendl/pytenet/tree/master/{filepath}#L{linestart}-L{linestop}"
129+
return f"https://github.com/cmendl/pytenet/tree/main/{filepath}#L{linestart}-L{linestop}"
130130

131131

132132
# -- Options for HTML output -------------------------------------------------

0 commit comments

Comments
 (0)