From 2ae48407a786d408f364b26b28ec8ab68f8cc249 Mon Sep 17 00:00:00 2001 From: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com> Date: Wed, 15 Jun 2022 14:06:39 -0700 Subject: [PATCH] Trigger workflows on beta branches (#823) --- .github/workflows/{python-package.yml => ci.yml} | 8 ++++++-- Makefile | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) rename .github/workflows/{python-package.yml => ci.yml} (98%) diff --git a/.github/workflows/python-package.yml b/.github/workflows/ci.yml similarity index 98% rename from .github/workflows/python-package.yml rename to .github/workflows/ci.yml index 4825afc41..61a3e2de1 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/ci.yml @@ -3,11 +3,15 @@ name: CI on: workflow_dispatch: {} push: - branches: [master] + branches: + - master + - beta tags: - v[0-9]+.[0-9]+.[0-9]+* pull_request: - branches: [master] + branches: + - master + - beta jobs: lint: diff --git a/Makefile b/Makefile index ab8a5a110..959b873d5 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ clean: update-version: @echo "$(VERSION)" > VERSION - @perl -pi -e 's|VERSION = "[.\d]+"|VERSION = "$(VERSION)"|' stripe/version.py + @perl -pi -e 's|VERSION = "[.\d\w]+"|VERSION = "$(VERSION)"|' stripe/version.py codegen-format: fmt