diff --git a/.github/workflows/lockDeploys.yml b/.github/workflows/lockDeploys.yml index 3b95eabd8ec8..6ca025bb2a25 100644 --- a/.github/workflows/lockDeploys.yml +++ b/.github/workflows/lockDeploys.yml @@ -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 }} diff --git a/workflow_tests/assertions/lockDeploysAssertions.js b/workflow_tests/assertions/lockDeploysAssertions.js index 59ce833fa1e0..874076dc3a28 100644 --- a/workflow_tests/assertions/lockDeploysAssertions.js +++ b/workflow_tests/assertions/lockDeploysAssertions.js @@ -10,7 +10,6 @@ const assertlockStagingDeploysJobExecuted = (workflowResult, didExecute = true, 'Checking out', [ {key: 'ref', value: 'main'}, - {key: 'fetch-depth', value: '0'}, {key: 'token', value: '***'}, ], [], @@ -58,7 +57,6 @@ const assertlockStagingDeploysJobFailedAfterFirstStep = (workflowResult) => { 'Checking out', [ {key: 'ref', value: 'main'}, - {key: 'fetch-depth', value: '0'}, {key: 'token', value: '***'}, ], [], diff --git a/workflow_tests/mocks/lockDeploysMocks.js b/workflow_tests/mocks/lockDeploysMocks.js index 0dd5c11f58ed..bb6246a2e1d9 100644 --- a/workflow_tests/mocks/lockDeploysMocks.js +++ b/workflow_tests/mocks/lockDeploysMocks.js @@ -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',