Skip to content

Commit

Permalink
Fix lockDeploys.test.js
Browse files Browse the repository at this point in the history
Fixes after merging with main

See: #13604
  • Loading branch information
radoslawkrzemien committed Jul 12, 2023
1 parent fc12b0f commit 2518b36
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lockDeploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ jobs:
if: ${{ github.event.label.name == '🔐 LockCashDeploys 🔐' && contains(github.event.issue.labels.*.name, 'StagingDeployCash') && github.actor != 'OSBotify' }}
runs-on: macos-12
steps:
# Version: 2.3.4
- name: Checkout
- uses: actions/checkout@v3
uses: actions/checkout@v3
with:
ref: main
token: ${{ secrets.OS_BOTIFY_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions workflow_tests/assertions/lockDeploysAssertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const assertlockStagingDeploysJobExecuted = (workflowResult, didExecute = true,
'Checking out',
[
{key: 'ref', value: 'main'},
{key: 'fetch-depth', value: '0'},
{key: 'token', value: '***'},
],
[],
Expand Down Expand Up @@ -58,7 +57,6 @@ const assertlockStagingDeploysJobFailedAfterFirstStep = (workflowResult) => {
'Checking out',
[
{key: 'ref', value: 'main'},
{key: 'fetch-depth', value: '0'},
{key: 'token', value: '***'},
],
[],
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/mocks/lockDeploysMocks.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const utils = require('../utils/utils');

// lockstagingdeploys
const LOCKDEPLOYS__LOCKSTAGINGDEPLOYS__CHECKOUT__STEP_MOCK = utils.createMockStep('Checkout', 'Checking out', 'LOCKSTAGINGDEPLOYS', ['ref', 'fetch-depth', 'token'], []);
const LOCKDEPLOYS__LOCKSTAGINGDEPLOYS__CHECKOUT__STEP_MOCK = utils.createMockStep('Checkout', 'Checking out', 'LOCKSTAGINGDEPLOYS', ['ref', 'token'], []);
const LOCKDEPLOYS__LOCKSTAGINGDEPLOYS__WAIT_FOR_STAGING_DEPLOYS_TO_FINISH__STEP_MOCK = utils.createMockStep(
'Wait for staging deploys to finish',
'Waiting for staging deploys to finish',
Expand Down

0 comments on commit 2518b36

Please sign in to comment.