Skip to content

Commit bae6922

Browse files
committed
Fix branch names in workflows and note the new repo address
1 parent b3d48c7 commit bae6922

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
pull_request:
55
branches:
6-
- "master"
6+
- "main"
77
- "ci"
88
- "[0-9]+.[0-9x]+*"
99
paths:

.github/workflows/test.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Tests
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- ci
88
- "releases/*"
99
pull_request:
@@ -23,11 +23,24 @@ jobs:
2323

2424
steps:
2525
- uses: actions/checkout@v2
26+
27+
- name: Check if release PR.
28+
uses: edgedb/action-release/validate-pr@master
29+
id: release
30+
with:
31+
github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
32+
missing_version_ok: yes
33+
version_file: parsing/_version.py
34+
version_line_pattern: |
35+
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
36+
2637
- name: Set up Python ${{ matrix.python-version }}
2738
uses: actions/setup-python@v2
39+
if: steps.release.outputs.version == 0
2840
with:
2941
python-version: ${{ matrix.python-version }}
3042
- name: Test
43+
if: steps.release.outputs.version == 0
3144
env:
3245
PARSING_USE_MYPYC: "${{ matrix.build == 'mypyc' && '1' || '0' }}"
3346
run: |

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ Additionally, trying to set private attributes may raise:
102102

103103
Author: Jason Evans [email protected]
104104

105-
Github repo: http://github.com/sprymix/parsing
105+
Github repo: http://github.com/MagicStack/parsing

0 commit comments

Comments
 (0)