-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add version parameter to code_freeze workflow
- Loading branch information
Showing
2 changed files
with
14 additions
and
6 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 |
---|---|---|
|
@@ -2,6 +2,11 @@ name: Code Freeze | |
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "New release version (calculated automatically if not provided)" | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
|
||
|
@@ -14,7 +19,7 @@ jobs: | |
|
||
outputs: | ||
release_branch_name: ${{ steps.make_release_branch.outputs.release_branch_name }} | ||
asana_task_url: ${{ steps.create_release_task.outputs.asana_task_url }} | ||
asana_task_url: ${{ steps.make_release_branch.outputs.asana_task_url }} | ||
|
||
steps: | ||
|
||
|
@@ -38,12 +43,15 @@ jobs: | |
id: make_release_branch | ||
env: | ||
ASANA_ACCESS_TOKEN: ${{ secrets.ASANA_ACCESS_TOKEN }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
run: | | ||
git config --global user.name "Dax the Duck" | ||
git config --global user.email "[email protected]" | ||
bundle exec fastlane run start_new_release \ | ||
platform:"macos" \ | ||
github_handle:"${{ github.actor }}" | ||
version:"${{ inputs.version }}" \ | ||
github_handle:"${{ github.actor }}" \ | ||
validation_section_id:"${{ vars.TEST_MACOS_APP_BOARD_VALIDATION_SECTION_ID }}" \ | ||
# - name: Update Asana tasks for the release | ||
# env: | ||
|
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