aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-trigger.yml25
-rw-r--r--.github/workflows/release.yml8
2 files changed, 4 insertions, 29 deletions
diff --git a/.github/workflows/release-trigger.yml b/.github/workflows/release-trigger.yml
deleted file mode 100644
index 101406a..0000000
--- a/.github/workflows/release-trigger.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-name: Trigger Release
-
-on:
- pull_request_review:
- types: [submitted]
-
-jobs:
- check-review:
- runs-on: ubuntu-latest
- steps:
- - name: Validate release PR
- uses: edgedb/action-release/validate-pr@master
- id: release
- continue-on-error: true
- with:
- github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- version_file: immutables/_version.py
- version_line_pattern: |
- __version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
- - name: Trigger release
- uses: edgedb/action-release/trigger@master
- if: steps.release.outputs.version != 0
- with:
- github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- release_validation_check: "validate-release-request"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fb948c2..b83b778 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,6 +19,8 @@ jobs:
with:
github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
version_file: immutables/_version.py
+ require_team: Release Managers
+ require_approval: no
version_line_pattern: |
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
@@ -87,13 +89,11 @@ jobs:
with:
platforms: arm64
- - uses: pypa/cibuildwheel@v2.0.1
+ - uses: pypa/cibuildwheel@v2.3.1
env:
CIBW_BUILD_VERBOSITY: 1
- CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
+ CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-* cp310-*"
CIBW_ARCHS: ${{ matrix.cibw_arch }}
- CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux1_x86_64
- CIBW_MANYLINUX_I686_IMAGE: quay.io/pypa/manylinux1_i686
CIBW_SKIP: "pp*"
CIBW_TEST_EXTRAS: "test"
CIBW_TEST_COMMAND: "cd .. && python {project}/tests/__init__.py"