Skip to content

Commit ce393d6

Browse files
committed
Move github workflow files to correct location
1 parent c6cc2dd commit ce393d6

File tree

4 files changed

+11
-84
lines changed

4 files changed

+11
-84
lines changed

.github/pr-title-checker-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"CHECKS": {
77
"prefixes": ["chore: ", "refactor: ", "perf: ", "test: ", "docs: ", "release: "],
8-
"regexp": "(fix|feat)\\((all|analytics|api|auth|core|datastore|geo|predictions|storage|notifications)\\): ",
8+
"regexp": "(fix|feat)\\((all|analytics|api|auth|core|datastore|geo|predictions|storage|notifications|apollo)\\): ",
99
"regexpFlags": "",
1010
"ignoreLabels" : ["ignore-pr-title"]
1111
},

.github/workflows/release_pr.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ name: Prepare Next Release
22
on:
33
workflow_dispatch:
44
inputs:
5+
component:
6+
type: choice
7+
description: Component to release
8+
required: true
9+
options:
10+
- AmplifyAndroid
11+
- ApolloExtensions
512
release_tag:
6-
description: 'Release Tag'
13+
description: 'Previous Release Tag'
714
required: false
815
type: string
916
env:
@@ -46,9 +53,10 @@ jobs:
4653
env:
4754
RELEASE_MANAGER_TOKEN: ${{secrets.GITHUB_TOKEN}}
4855
RELEASE_TAG: ${{ github.event.inputs.release_tag }}
56+
COMPONENT: ${{ github.event.inputs.component }}
4957
run: |
5058
cd scripts
51-
bundle exec fastlane android create_next_release_pr release_tag:"$RELEASE_TAG" base_branch:"$BASE_BRANCH"
59+
bundle exec fastlane android create_next_release_pr release_tag:"$RELEASE_TAG" base_branch:"$BASE_BRANCH" release_component_target:"$COMPONENT"
5260
- name: Check modified file content
5361
run: |
5462
cat gradle.properties

pr-title-checker-config.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

release_pr.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)