DiUS / pact-consumer-swift

A Swift / ObjeciveC DSL for creating pacts.
MIT License
98 stars 43 forks source link

fix: Splits workflows into build and PR #112

Closed surpher closed 3 years ago

surpher commented 3 years ago

Cleaning up the commit message before sending it in the JSON body of curl command. It was intermittently failing due to non-escaped characters injected into merge commits' messages.

Also splitting the build workflow into build and pull_request. They are essentially the same except for triggering the builds in demo projects repos. There is no sense in triggering build_children.sh on PRs as the demo projects only run using code on master. Once the PR gets merged into master, the build workflow triggers and if successful, triggers the builds in demo projects' repos (after it removes the special characters in the first line of commit message).

EDIT: with explicitly specifying agents' os versions, a Build (Big Sur) workflow has been added.

Unfortunately workflows can't be shared afaik.