diff --git a/.github/workflows/auto-fix-build-errors.yml b/.github/workflows/auto-fix-build-errors.yml deleted file mode 100644 index 47857b9..0000000 --- a/.github/workflows/auto-fix-build-errors.yml +++ /dev/null @@ -1,112 +0,0 @@ -name: Build Error Analysis Report - -on: - workflow_run: - workflows: ["Create New Release"] - types: - - completed - -jobs: - analyze_build_errors: - name: Analyze Build Errors - runs-on: macos-15 - if: github.event.workflow_run.conclusion == 'failure' - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.event.workflow_run.head_branch }} - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Install Git LFS - run: | - git lfs install - git lfs pull - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Download Artifacts - run: | - # Make scripts executable - chmod +x scripts/ci/*.sh - - # Download artifacts using the helper script - ./scripts/ci/download-artifacts.sh "${{ github.event.workflow_run.id }}" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Run Build Error Analysis - id: analysis - run: | - # No special Python libraries needed - using standard library only - - # Run analysis script - if [ -f "build_log.txt" ]; then - echo "Analyzing build log..." - python3 scripts/ci/auto-fix-build-errors.py build_log.txt || echo "Analysis completed with errors" - - # Check if reports were generated - if [ -f "build_error_report.html" ]; then - echo "report_generated=true" >> $GITHUB_OUTPUT - echo "✅ Build error report generated successfully" - else - echo "report_generated=false" >> $GITHUB_OUTPUT - echo "⚠️ No error report was generated" - fi - else - echo "::error::Build log not found!" - echo "report_generated=false" >> $GITHUB_OUTPUT - exit 1 - fi - - - name: Upload Error Reports - if: steps.analysis.outputs.report_generated == 'true' - uses: actions/upload-artifact@v4 - with: - name: build-error-reports - path: | - build_error_report.html - build_error_report.txt - build_error_report.json - retention-days: 30 - - - name: Generate Summary - if: steps.analysis.outputs.report_generated == 'true' - run: | - # Use the dedicated script to generate the GitHub step summary - ./scripts/ci/generate-report-summary.sh - - - name: Determine PR Number - id: pr-finder - if: github.event.workflow_run.event == 'pull_request' && steps.analysis.outputs.report_generated == 'true' - uses: actions/github-script@v7 - with: - script: | - // Get PR number from the workflow run - const run = await github.rest.actions.getWorkflowRun({ - owner: context.repo.owner, - repo: context.repo.repo, - run_id: ${{ github.event.workflow_run.id }} - }); - - // Extract PR number from the run data - const prNumber = run.data.pull_requests[0]?.number; - if (prNumber) { - console.log(`Found PR number: ${prNumber}`); - return prNumber; - } else { - console.log("Could not determine PR number from workflow run"); - return ''; - } - result-encoding: string - - - name: Create Comment on PR - if: github.event.workflow_run.event == 'pull_request' && steps.analysis.outputs.report_generated == 'true' && steps.pr-finder.outputs.result != '' - run: | - # Use dedicated script to create PR comment - ./scripts/ci/create-pr-comment.sh "${{ steps.pr-finder.outputs.result }}" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-error-analyzer.yml b/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build-error-analyzer.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml deleted file mode 100644 index a65caff..0000000 --- a/.github/workflows/debug.yml +++ /dev/null @@ -1,274 +0,0 @@ -name: Build Debug with Debugger Enabled - -on: - workflow_dispatch: - inputs: - scheme: - description: 'Build scheme to use (Debug/Release)' - default: 'backdoor (Debug)' - required: true - type: choice - options: - - 'backdoor (Debug)' - - 'backdoor (Release)' - debug_flags: - description: 'Additional debug flags' - default: '-DDEBUG=1' - required: false - type: string - enable_debugger: - description: 'Enable the custom debugger' - default: true - required: true - type: boolean - enable_logging: - description: 'Enable enhanced logging' - default: true - required: true - type: boolean - -jobs: - build_debug: - name: Build Debug Version - runs-on: macos-15 - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - - - name: Install Dependencies - run: | - # Install ldid for iOS app signing - curl -LO https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_macosx_x86_64 - sudo install -m755 ldid_macosx_x86_64 /usr/local/bin/ldid - - # Install other dependencies - brew install p7zip gnu-sed - - # Install xcpretty for nicer build output - gem install xcpretty - - # Create build directory - mkdir -p build - - # Verify ldid installation - which ldid - ldid -v || echo "ldid version check not supported" - - - name: Build with Debug Configuration - run: | - # Create upload directory - mkdir -p upload - - # Output environment information for debugging - echo "Xcode version:" - xcodebuild -version - - echo "Available schemes:" - xcodebuild -project backdoor.xcodeproj -list - - echo "=== Building Debug Version with Make ===" - # Prepare conditional flags based on inputs - DEBUGGER_FLAGS="" - if [[ "${{ github.event.inputs.enable_debugger }}" == "true" ]]; then - DEBUGGER_FLAGS="DEBUGGER_ENABLED=1 INCLUDE_DEBUGGER=1" - echo "Custom debugger has been enabled" - fi - - LOGGING_FLAGS="" - if [[ "${{ github.event.inputs.enable_logging }}" == "true" ]]; then - LOGGING_FLAGS="ENABLE_ENHANCED_LOGGING=1 VERBOSE_LOGGING=1" - echo "Enhanced logging has been enabled" - fi - - # Define Swift compilation conditions - SWIFT_CONDITIONS="DEBUG" - if [[ "${{ github.event.inputs.enable_debugger }}" == "true" ]]; then - SWIFT_CONDITIONS="$SWIFT_CONDITIONS DEBUGGER_ENABLED" - fi - - # Bypass the Makefile scheme handling and run xcodebuild directly to avoid quoting issues - echo "Building directly with xcodebuild to avoid scheme name quoting issues" - - # Set up build flags - properly formatted with dash prefix for xcodebuild - DEBUG_BUILD_FLAGS="" - - # Add each build setting with proper formatting - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -SWIFT_ACTIVE_COMPILATION_CONDITIONS=$SWIFT_CONDITIONS" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -OTHER_SWIFT_FLAGS=${{ github.event.inputs.debug_flags }}" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -SWIFT_OPTIMIZATION_LEVEL=-Onone" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -SWIFT_COMPILATION_MODE=singlefile" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -GCC_PREPROCESSOR_DEFINITIONS=DEBUG=1" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -GCC_OPTIMIZATION_LEVEL=0" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -COPY_PHASE_STRIP=NO" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -ENABLE_TESTABILITY=YES" - - # Add debugger flags if enabled - if [[ "${{ github.event.inputs.enable_debugger }}" == "true" ]]; then - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -DEBUGGER_ENABLED=1" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -INCLUDE_DEBUGGER=1" - fi - - # Add logging flags if enabled - if [[ "${{ github.event.inputs.enable_logging }}" == "true" ]]; then - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -ENABLE_ENHANCED_LOGGING=1" - DEBUG_BUILD_FLAGS="$DEBUG_BUILD_FLAGS -VERBOSE_LOGGING=1" - fi - - echo "Using build flags: $DEBUG_BUILD_FLAGS" - - # Create output directories - mkdir -p packages - rm -rf Payload - - # Build directly with xcodebuild - echo "Running xcodebuild with scheme '${{ github.event.inputs.scheme }}'" - set -o pipefail && xcodebuild \ - -jobs $(sysctl -n hw.ncpu) \ - -project 'backdoor.xcodeproj' \ - -scheme "${{ github.event.inputs.scheme }}" \ - -configuration Debug \ - -arch arm64 -sdk iphoneos \ - -derivedDataPath ~/Library/Developer/Xcode/DerivedData \ - CODE_SIGNING_ALLOWED=NO \ - CFLAGS="${{ github.event.inputs.debug_flags }} -Onone" \ - $DEBUG_BUILD_FLAGS | tee build_log.txt | xcpretty - - # Capture build status - BUILD_STATUS=$? - if [ $BUILD_STATUS -ne 0 ]; then - echo "xcodebuild failed with status $BUILD_STATUS" - echo "Build log tail:" - tail -n 50 build_log.txt - exit $BUILD_STATUS - fi - - # Record what flags were used in the build for debugging purposes - echo -e "\n### Build Configuration Used ###" >> build_log.txt - echo "Debug Build Flags: $DEBUG_BUILD_FLAGS" >> build_log.txt - echo "Swift Conditions: $SWIFT_CONDITIONS" >> build_log.txt - echo "Scheme: ${{ github.event.inputs.scheme }}" >> build_log.txt - - echo "Build completed successfully, finding the built app..." - - # Find the built app using multiple search patterns for reliability - DERIVED_DATA_PATH=~/Library/Developer/Xcode/DerivedData - echo "Searching in DerivedData: $DERIVED_DATA_PATH" - - # Search for the app bundle - echo "Searching for backdoor.app bundle..." - APP_PATH=$(find "$DERIVED_DATA_PATH" -name "backdoor.app" -type d 2>/dev/null | head -n 1) - - if [ -z "$APP_PATH" ]; then - echo "App not found in primary location, checking build products directory..." - APP_PATH=$(find "$DERIVED_DATA_PATH" -path "*/Build/Products/*" -name "backdoor.app" -type d 2>/dev/null | head -n 1) - fi - - if [ -z "$APP_PATH" ]; then - echo "Searching recursively from current directory..." - APP_PATH=$(find . -name "backdoor.app" -type d 2>/dev/null | head -n 1) - fi - - if [ -z "$APP_PATH" ]; then - echo "ERROR: Could not find built app" - echo "Listing contents of DerivedData to debug:" - find "$DERIVED_DATA_PATH" -type d -name "backdoor*" 2>/dev/null || echo "No matching directories found" - exit 1 - fi - - echo "Found app at: $APP_PATH" - echo "App info:" - ls -la "$APP_PATH" - - # Package the app - echo "Packaging app into IPA..." - mkdir -p Payload - cp -r "$APP_PATH" Payload/ - - # Remove any existing _CodeSignature directory - rm -rf Payload/backdoor.app/_CodeSignature 2>/dev/null - - # Create the IPA file - echo "Creating IPA file..." - zip -r9 packages/backdoor.ipa Payload | tee -a build_log.txt - - # Verify the IPA was created - if [ -f "packages/backdoor.ipa" ]; then - echo "Successfully created IPA file: packages/backdoor.ipa" - echo "IPA file size: $(du -h packages/backdoor.ipa | cut -f1)" - else - echo "ERROR: Failed to create IPA file" - exit 1 - fi - - # Check if build was successful - if [ ! -d "packages" ] || [ -z "$(ls -A packages 2>/dev/null)" ]; then - echo "::error::Build failed - no package files were created" - echo "=== Build Log Tail ===" - tail -n 50 build_log.txt - exit 1 - fi - - # Move packages to upload directory - mv packages/* upload/ || { echo "::error::No build output to move"; exit 1; } - - - name: Verify Debug Flags - run: | - echo "Verifying debug information in the built app..." - - # IPAs are zip files, extract first to check the binary - mkdir -p extracted - unzip -q upload/*.ipa -d extracted - - # Find the main executable - APP_BINARY=$(find extracted/Payload -name "backdoor" -type f) - - if [ -z "$APP_BINARY" ]; then - echo "Main executable not found, using app bundle for checks" - APP_PATH=$(find extracted/Payload -name "*.app" -type d | head -1) - else - echo "Found main executable at $APP_BINARY" - fi - - # Check for DEBUG flag in the binary - if [ -n "$APP_BINARY" ]; then - echo "Checking for DEBUG symbols in binary..." - otool -l "$APP_BINARY" | grep -i debug || true - nm "$APP_BINARY" | grep -i debug || true - fi - - # Check for debugger Swift files - echo "Checking for Debugger Swift files..." - find extracted/Payload -name "*Debug*.swift" | sort - - # Check Info.plist for debug configuration - PLIST_PATH=$(find extracted/Payload -name "Info.plist" | head -1) - if [ -n "$PLIST_PATH" ]; then - echo "Checking Info.plist for debug configuration..." - plutil -p "$PLIST_PATH" | grep -i debug || true - fi - - # Rename the IPA to indicate debug build - mv upload/backdoor.ipa upload/backdoor-debug.ipa || true - if [ -f "upload/backdoor-ts.tipa" ]; then - mv upload/backdoor-ts.tipa upload/backdoor-debug.tipa - fi - - # Add details about debugger activation - echo -e "\n=== Debugger Information ===\n" - echo "The debugger is integrated and can be activated by:" - echo "1. The floating debugger button in the app UI" - echo "2. Triple tapping in empty areas of the app" - echo "3. Shake gesture on device" - - - name: Upload Debug Build - uses: actions/upload-artifact@v4 - with: - name: debug-build - path: | - upload/*.ipa - upload/*.tipa - build_log.txt - retention-days: 7 - if-no-files-found: warn diff --git a/.github/workflows/jr.yml b/.github/workflows/jr.yml deleted file mode 100644 index eddcb80..0000000 --- a/.github/workflows/jr.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Debug Build - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - # Allow manual trigger - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Make script executable - run: chmod +x ./build_debug.sh - - - name: Run debug build - run: ./build_debug.sh \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 361951f..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,253 +0,0 @@ -name: Build iOS App -on: - workflow_dispatch: # This enables manual triggering - inputs: - build_mode: - description: 'Build configuration mode' - required: true - default: 'Debug' - type: choice - options: - - Debug - - Release - enable_debugger: - description: 'Enable the custom debugger' - default: true - required: true - type: boolean - enable_logging: - description: 'Enable enhanced logging' - default: true - required: true - type: boolean - debug_flags: - description: 'Additional debug flags' - default: '-DDEBUG=1' - required: false - type: string - -jobs: - build: - name: Build App in ${{ inputs.build_mode }} Mode - runs-on: macos-14 - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - lfs: true - - - name: Install Git LFS - run: | - # Check if Git LFS is needed - if git lfs env >/dev/null 2>&1; then - git lfs install - git lfs pull - else - echo "Git LFS not configured, skipping." - fi - - - name: Select Xcode Version - run: | - # List available Xcode versions - sudo xcode-select -p - ls -la /Applications/Xcode* - - # Select the latest Xcode version available - LATEST_XCODE=$(ls -d /Applications/Xcode* | sort -V | tail -n 1) - echo "Latest Xcode path: $LATEST_XCODE" - sudo xcode-select --switch "$LATEST_XCODE" - - # Verify Xcode version - xcodebuild -version - - - name: Install Dependencies - run: | - # Install ldid (required for iOS app signing) - curl -LO https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_macosx_x86_64 - sudo install -m755 ldid_macosx_x86_64 /usr/local/bin/ldid - - # Install xcpretty for nicer build output - gem install xcpretty - - # Verify ldid installation - if ! command -v ldid >/dev/null 2>&1; then - echo "::error::ldid installation failed" - exit 1 - fi - ldid -v || echo "ldid version check not supported" - - - name: Build in ${{ inputs.build_mode }} Mode - run: | - # Check Xcode project format version - if ! plutil -p backdoor.xcodeproj/project.pbxproj > /dev/null 2>&1; then - echo "::error::Unable to read project file format" - exit 1 - fi - - echo "Xcode version:" - xcodebuild -version - - echo "Available schemes:" - xcodebuild -project backdoor.xcodeproj -list || { - echo "::error::Failed to list schemes. Project might be in an incompatible format." - exit 1 - } - - echo "=== Building in ${{ inputs.build_mode }} Mode ===" - set -o pipefail - - # Create a directory for the build output - mkdir -p build - - # Prepare conditional flags based on inputs - # Define Swift compilation conditions - SWIFT_CONDITIONS="${{ inputs.build_mode == 'Debug' && 'DEBUG' || '' }}" - - # Add debugger flags if enabled - if [[ "${{ inputs.enable_debugger }}" == "true" && "${{ inputs.build_mode }}" == "Debug" ]]; then - SWIFT_CONDITIONS="$SWIFT_CONDITIONS DEBUGGER_ENABLED" - echo "Custom debugger has been enabled" - fi - - # Set up build flags - properly formatted with dash prefix for xcodebuild - BUILD_FLAGS="" - - # Add each build setting with proper formatting - BUILD_FLAGS="$BUILD_FLAGS -SWIFT_ACTIVE_COMPILATION_CONDITIONS=$SWIFT_CONDITIONS" - - # Add debug-specific flags if in Debug mode - if [[ "${{ inputs.build_mode }}" == "Debug" ]]; then - BUILD_FLAGS="$BUILD_FLAGS -OTHER_SWIFT_FLAGS=${{ inputs.debug_flags }}" - BUILD_FLAGS="$BUILD_FLAGS -SWIFT_OPTIMIZATION_LEVEL=-Onone" - BUILD_FLAGS="$BUILD_FLAGS -SWIFT_COMPILATION_MODE=singlefile" - BUILD_FLAGS="$BUILD_FLAGS -GCC_PREPROCESSOR_DEFINITIONS=DEBUG=1" - BUILD_FLAGS="$BUILD_FLAGS -GCC_OPTIMIZATION_LEVEL=0" - BUILD_FLAGS="$BUILD_FLAGS -COPY_PHASE_STRIP=NO" - BUILD_FLAGS="$BUILD_FLAGS -ENABLE_TESTABILITY=YES" - - # Add debugger flags if enabled - Fixed: Removed DEBUGGER_ENABLED as a build action - if [[ "${{ inputs.enable_debugger }}" == "true" ]]; then - # Using GCC_PREPROCESSOR_DEFINITIONS to define DEBUGGER_ENABLED instead of as a build action - BUILD_FLAGS="$BUILD_FLAGS -GCC_PREPROCESSOR_DEFINITIONS=DEBUG=1 DEBUGGER_ENABLED=1" - BUILD_FLAGS="$BUILD_FLAGS -INCLUDE_DEBUGGER=YES" - fi - - # Add logging flags if enabled - if [[ "${{ inputs.enable_logging }}" == "true" ]]; then - BUILD_FLAGS="$BUILD_FLAGS -ENABLE_ENHANCED_LOGGING=YES" - BUILD_FLAGS="$BUILD_FLAGS -VERBOSE_LOGGING=YES" - fi - fi - - echo "Using build flags: $BUILD_FLAGS" - - xcodebuild \ - -jobs $(sysctl -n hw.ncpu) \ - -project 'backdoor.xcodeproj' \ - -scheme 'backdoor (${{ inputs.build_mode }})' \ - -configuration ${{ inputs.build_mode }} \ - -arch arm64 -sdk iphoneos \ - -derivedDataPath build \ - CODE_SIGNING_ALLOWED=NO \ - CFLAGS="${{ inputs.build_mode == 'Debug' && inputs.debug_flags || '' }} ${{ inputs.build_mode == 'Debug' && '-Onone' || '' }}" \ - $BUILD_FLAGS | tee build_log.txt | xcpretty - - BUILD_RESULT=$? - - # Check for build errors - if [ $BUILD_RESULT -ne 0 ]; then - echo "::error::Build failed with exit code $BUILD_RESULT" - if [ -f "build_log.txt" ]; then - echo "Last 50 lines of build log:" - tail -n 50 build_log.txt - fi - exit 1 - fi - - # Record what flags were used in the build for debugging purposes - echo -e "\n### Build Configuration Used ###" >> build_log.txt - echo "Build Flags: $BUILD_FLAGS" >> build_log.txt - echo "Swift Conditions: $SWIFT_CONDITIONS" >> build_log.txt - echo "Scheme: backdoor (${{ inputs.build_mode }})" >> build_log.txt - - - name: Create IPA - run: | - APP_PATH=$(find build -name "*.app" -type d) - if [ -z "$APP_PATH" ]; then - echo "::error::Could not find .app file" - exit 1 - fi - - # Create Payload directory and copy .app into it - mkdir -p Payload - cp -r "$APP_PATH" Payload/ - - # Remove any existing _CodeSignature directory - rm -rf Payload/backdoor.app/_CodeSignature 2>/dev/null - - # Create IPA - zip -r "backdoor_${{ inputs.build_mode }}.ipa" Payload - - # Cleanup - rm -rf Payload - - - name: Verify Debug Flags (Debug Mode Only) - if: inputs.build_mode == 'Debug' && inputs.enable_debugger == 'true' - run: | - echo "Verifying debug information in the built app..." - - # Extract IPA to check the binary - mkdir -p extracted - unzip -q backdoor_${{ inputs.build_mode }}.ipa -d extracted - - # Find the main executable - APP_BINARY=$(find extracted/Payload -name "backdoor" -type f) - - if [ -z "$APP_BINARY" ]; then - echo "Main executable not found, using app bundle for checks" - APP_PATH=$(find extracted/Payload -name "*.app" -type d | head -1) - else - echo "Found main executable at $APP_BINARY" - fi - - # Check for DEBUG flag in the binary - if [ -n "$APP_BINARY" ]; then - echo "Checking for DEBUG symbols in binary..." - otool -l "$APP_BINARY" | grep -i debug || true - nm "$APP_BINARY" | grep -i debug || true - fi - - # Check for debugger Swift files - echo "Checking for Debugger Swift files..." - find extracted/Payload -name "*Debug*.swift" | sort - - # Check Info.plist for debug configuration - PLIST_PATH=$(find extracted/Payload -name "Info.plist" | head -1) - if [ -n "$PLIST_PATH" ]; then - echo "Checking Info.plist for debug configuration..." - plutil -p "$PLIST_PATH" | grep -i debug || true - fi - - # Add details about debugger activation - if [[ "${{ inputs.enable_debugger }}" == "true" ]]; then - echo -e "\n=== Debugger Information ===\n" - echo "The debugger is integrated and can be activated by:" - echo "1. The floating debugger button in the app UI" - echo "2. Triple tapping in empty areas of the app" - echo "3. Shake gesture on device" - fi - - - name: Upload IPA - uses: actions/upload-artifact@v4 - with: - name: backdoor-${{ inputs.build_mode }}-ipa - path: backdoor_${{ inputs.build_mode }}.ipa - retention-days: 5 - - - name: Upload Build Log - uses: actions/upload-artifact@v4 - if: always() - with: - name: build-logs - path: build_log.txt - retention-days: 5 diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml deleted file mode 100644 index 8ef1b9f..0000000 --- a/.github/workflows/update-dependencies.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Update Project Dependencies - -on: - # Run when the dep-bdg.json file is changed - push: - paths: - - 'dep-bdg.json' - - # Allow manual triggering - workflow_dispatch: - inputs: - force_update: - description: 'Force update of dependencies regardless of changes' - required: false - default: 'false' - type: choice - options: - - 'true' - - 'false' - -jobs: - update-dependencies: - runs-on: macos-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - - name: Install dependencies - run: | - pip install uuid - - - name: Update dependencies - run: | - python scripts/add_dependency.py --debug - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - branch: update-dependencies - commit-message: "Update dependencies" - title: "Update dependencies" - body: "This pull request updates the dependencies and includes any changes generated by the update script." - labels: dependencies - delete-branch: true \ No newline at end of file