From 62efee151d68b66392d13aa41b9cfeea756ece9f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:13:45 +0000 Subject: [PATCH 1/5] Initial plan From c579dc0171cecbcab567a5281fa73a50acb7da46 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:15:25 +0000 Subject: [PATCH 2/5] Add GitHub workflow to replace Azure DevOps pipeline Co-authored-by: turbobobbytraykov <3358260+turbobobbytraykov@users.noreply.github.com> --- .github/workflows/build.yml | 76 +++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..fc1b524ea --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,76 @@ +name: Build + +# This workflow is meant to run on changes pushed to the vnext branch only. +# If it runs on PRs, it will create PRs to the destination repos' vnext branches - we don't want that. +on: + push: + branches: + - vnext + - master + workflow_dispatch: + inputs: + isVerbose: + description: 'Get verbose output from steps - where configurable' + required: false + type: boolean + default: false + shouldCleanPostExecution: + description: 'Clean all pipeline dirs after the pipeline finishes?' + required: false + type: boolean + default: true + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + clean: true + persist-credentials: true + path: igniteui-angular-examples + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.19.0' + + - name: Install npm dependencies + run: npm install + working-directory: ./igniteui-angular-examples/browser + + - name: Apply very special configuration + shell: bash + run: | + echo "Current directory: $(pwd)" + sed -i 's/build --configuration production/build --configuration production --base-href=\/angular-demos-dv\//g' package.json + working-directory: ./igniteui-angular-examples/browser + + - name: Build project + run: | + if [ "${{ github.event.inputs.isVerbose }}" == "true" ]; then + npm run build --verbose + else + npm run build + fi + working-directory: ./igniteui-angular-examples/browser + + - name: Copy web.config to dist + run: | + cp web.config dist/browser/ + working-directory: ./igniteui-angular-examples/browser + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: dist + path: ./igniteui-angular-examples/browser/dist/browser + + - name: Clean workspace + if: ${{ github.event.inputs.shouldCleanPostExecution == 'true' || github.event_name == 'push' }} + run: | + cd ${{ github.workspace }} + echo "Cleaning workspace..." + # Cleanup is handled automatically by GitHub Actions after the workflow completes From 66ac6a1d530f9ad0fd6140f58b69dc6ed75e3ce4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:16:00 +0000 Subject: [PATCH 3/5] Simplify cleanup step with explanatory comment Co-authored-by: turbobobbytraykov <3358260+turbobobbytraykov@users.noreply.github.com> --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc1b524ea..13ba3b92c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,9 +68,5 @@ jobs: name: dist path: ./igniteui-angular-examples/browser/dist/browser - - name: Clean workspace - if: ${{ github.event.inputs.shouldCleanPostExecution == 'true' || github.event_name == 'push' }} - run: | - cd ${{ github.workspace }} - echo "Cleaning workspace..." - # Cleanup is handled automatically by GitHub Actions after the workflow completes + # Note: Workspace cleanup is handled automatically by GitHub Actions after the workflow completes + # The shouldCleanPostExecution parameter is retained for compatibility but has no effect in GitHub Actions From c03c805018b5dcf21c69be216fbbad7cf56e8223 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:17:04 +0000 Subject: [PATCH 4/5] Add explicit GITHUB_TOKEN permissions for security Co-authored-by: turbobobbytraykov <3358260+turbobobbytraykov@users.noreply.github.com> --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13ba3b92c..2a1fad9c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Checkout repository From 5a9faddeb2ae8d0d8f0364c286d433ab5e83d948 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:32:58 +0000 Subject: [PATCH 5/5] Set artifact retention to 1 day and remove shouldCleanPostExecution parameter Co-authored-by: turbobobbytraykov <3358260+turbobobbytraykov@users.noreply.github.com> --- .github/workflows/build.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a1fad9c8..bc058a610 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,6 @@ on: required: false type: boolean default: false - shouldCleanPostExecution: - description: 'Clean all pipeline dirs after the pipeline finishes?' - required: false - type: boolean - default: true jobs: build: @@ -69,6 +64,4 @@ jobs: with: name: dist path: ./igniteui-angular-examples/browser/dist/browser - - # Note: Workspace cleanup is handled automatically by GitHub Actions after the workflow completes - # The shouldCleanPostExecution parameter is retained for compatibility but has no effect in GitHub Actions + retention-days: 1