-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CI): tags do not trigger Flex builds (#798)
* fix(CI): tags do not trigger Flex builds * one more name change * readme update * Update .github/workflows/start-ot3-build.yaml * Update .github/workflows/start-ot3-build.yaml
- Loading branch information
Showing
2 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
name: 'Start OT-3 build' | ||
name: 'Start Flex build' | ||
run-name: 'Starting a branch build of Flex for ${{ github.ref_name }}' | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- 'v*' | ||
- '*@*' | ||
pull_request: | ||
types: | ||
- opened | ||
|
@@ -16,7 +14,7 @@ jobs: | |
handle-push: | ||
runs-on: 'ubuntu-latest' | ||
if: github.event_name == 'push' | ||
name: "Start an OT-3 build for a branch/tag push" | ||
name: "Start a Flex build for a branch push of ${{ github.ref_name }}" | ||
steps: | ||
- name: 'start build' | ||
uses: octokit/[email protected] | ||
|
@@ -39,8 +37,8 @@ jobs: | |
handle-pr: | ||
runs-on: 'ubuntu-latest' | ||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Opentrons/ot3-firmware' && contains(github.event.pull_request.labels.*.name, 'ot3-build') | ||
name: "Start an OT-3 build for a requested PR" | ||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Opentrons/ot3-firmware' && contains(github.event.pull_request.labels.*.name, 'flex-build') | ||
name: "Start a Flex build for a PR from branch ${{ github.ref_name }}" | ||
steps: | ||
- name: 'start build' | ||
uses: octokit/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters