Skip to content

Commit

Permalink
Type git with lowercase
Browse files Browse the repository at this point in the history
Changed step names containing git to have it in lowercase

See: #13604
  • Loading branch information
radoslawkrzemien committed Nov 23, 2023
1 parent 357d4ef commit 1dab7e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/finishReleaseCycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
ref: main
token: ${{ secrets.OS_BOTIFY_TOKEN }}

- name: Setup Git for OSBotify
- name: Setup git for OSBotify
uses: ./.github/actions/composite/setupGitForOSBotifyApp
id: setupGitForOSBotify
with:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
ref: staging
token: ${{ secrets.OS_BOTIFY_TOKEN }}

- name: Setup Git for OSBotify
- name: Setup git for OSBotify
id: setupGitForOSBotify
uses: ./.github/actions/composite/setupGitForOSBotifyApp
with:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
ref: main
token: ${{ secrets.OS_BOTIFY_TOKEN }}

- name: Setup Git for OSBotify
- name: Setup git for OSBotify
uses: ./.github/actions/composite/setupGitForOSBotifyApp
with:
GPG_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
Expand Down
6 changes: 3 additions & 3 deletions workflow_tests/assertions/finishReleaseCycleAssertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const assertValidateJobExecuted = (workflowResult, issueNumber = '', didExecute
{key: 'ref', value: 'main'},
{key: 'token', value: '***'},
]),
utils.createStepAssertion('Setup Git for OSBotify', true, null, 'VALIDATE', 'Setup Git for OSBotify', [
utils.createStepAssertion('Setup git for OSBotify', true, null, 'VALIDATE', 'Setup git for OSBotify', [
{key: 'GPG_PASSPHRASE', value: '***'},
{key: 'OS_BOTIFY_APP_ID', value: '***'},
{key: 'OS_BOTIFY_PRIVATE_KEY', value: '***'},
Expand Down Expand Up @@ -113,7 +113,7 @@ const assertUpdateProductionJobExecuted = (workflowResult, didExecute = true, is
],
[],
),
utils.createStepAssertion('Setup Git for OSBotify', true, null, 'UPDATEPRODUCTION', 'Setup Git for OSBotify', [{key: 'GPG_PASSPHRASE', value: '***'}], []),
utils.createStepAssertion('Setup git for OSBotify', true, null, 'UPDATEPRODUCTION', 'Setup git for OSBotify', [{key: 'GPG_PASSPHRASE', value: '***'}], []),
utils.createStepAssertion('Update production branch', true, null, 'UPDATEPRODUCTION', 'Updating production branch', [], []),
];

Expand Down Expand Up @@ -164,7 +164,7 @@ const assertUpdateStagingJobExecuted = (workflowResult, didExecute = true, isSuc
],
[],
),
utils.createStepAssertion('Setup Git for OSBotify', true, null, 'UPDATESTAGING', 'Setup Git for OSBotify', [{key: 'GPG_PASSPHRASE', value: '***'}], []),
utils.createStepAssertion('Setup git for OSBotify', true, null, 'UPDATESTAGING', 'Setup git for OSBotify', [{key: 'GPG_PASSPHRASE', value: '***'}], []),
utils.createStepAssertion('Update staging branch to trigger staging deploy', true, null, 'UPDATESTAGING', 'Updating staging branch', [], []),
];

Expand Down
12 changes: 6 additions & 6 deletions workflow_tests/mocks/finishReleaseCycleMocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const utils = require('../utils/utils');
// validate
const FINISHRELEASECYCLE__VALIDATE__CHECKOUT__STEP_MOCK = utils.createMockStep('Checkout', 'Checkout', 'VALIDATE', ['ref', 'token']);
const FINISHRELEASECYCLE__VALIDATE__SETUP_GIT_FOR_OSBOTIFY__STEP_MOCK = utils.createMockStep(
'Setup Git for OSBotify',
'Setup Git for OSBotify',
'Setup git for OSBotify',
'Setup git for OSBotify',
'VALIDATE',
['GPG_PASSPHRASE', 'OS_BOTIFY_APP_ID', 'OS_BOTIFY_PRIVATE_KEY'],
[],
Expand Down Expand Up @@ -106,8 +106,8 @@ const FINISHRELEASECYCLE__VALIDATE__NOT_TEAM_MEMBER_BLOCKERS__STEP_MOCKS = [
// updateproduction
const FINISHRELEASECYCLE__UPDATEPRODUCTION__CHECKOUT__STEP_MOCK = utils.createMockStep('Checkout', 'Checkout', 'UPDATEPRODUCTION', ['ref', 'token'], []);
const FINISHRELEASECYCLE__UPDATEPRODUCTION__SETUP_GIT_FOR_OSBOTIFY__STEP_MOCK = utils.createMockStep(
'Setup Git for OSBotify',
'Setup Git for OSBotify',
'Setup git for OSBotify',
'Setup git for OSBotify',
'UPDATEPRODUCTION',
['GPG_PASSPHRASE'],
[],
Expand Down Expand Up @@ -144,8 +144,8 @@ const FINISHRELEASECYCLE__CREATENEWPATCHVERSION__STEP_MOCKS = [FINISHRELEASECYCL
// updatestaging
const FINISHRELEASECYCLE__UPDATESTAGING__CHECKOUT__STEP_MOCK = utils.createMockStep('Checkout', 'Checkout', 'UPDATESTAGING', ['ref', 'token'], []);
const FINISHRELEASECYCLE__UPDATESTAGING__SETUP_GIT_FOR_OSBOTIFY__STEP_MOCK = utils.createMockStep(
'Setup Git for OSBotify',
'Setup Git for OSBotify',
'Setup git for OSBotify',
'Setup git for OSBotify',
'UPDATESTAGING',
['GPG_PASSPHRASE'],
[],
Expand Down

0 comments on commit 1dab7e7

Please sign in to comment.