diff --git a/.github/workflows/xcodebuild-or-fastlane.yml b/.github/workflows/xcodebuild-or-fastlane.yml index 0c21f41..19b10da 100644 --- a/.github/workflows/xcodebuild-or-fastlane.yml +++ b/.github/workflows/xcodebuild-or-fastlane.yml @@ -81,10 +81,6 @@ on: required: false type: boolean default: false - checkout_token: - description: "The Personal access token (PAT) to use with the checkout action" - required: false - type: string checkout_submodules: description: "Flag indicating if submodules should be automatically checked out." required: false @@ -114,6 +110,9 @@ on: APPLE_ID: description: 'The Apple ID you use to access the App Store Connect API.' required: false + checkout_token: + description: "The Personal access token (PAT) to use with the checkout action" + required: false jobs: build_and_test: @@ -125,7 +124,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - token: ${{ inputs.checkout_token }} + token: ${{ secrets.checkout_token }} submodules: ${{ inputs.checkout_submodules }} - uses: maxim-lobanov/setup-xcode@v1 with: