diff --git a/.env b/.env new file mode 100644 index 0000000..1220c46 --- /dev/null +++ b/.env @@ -0,0 +1,4 @@ +@@ -1 +0,0 @@ +‎profile/.env‎ +32ed782b-1f8c-4066-9325-d6288d7daa55/64354866-4b1b-504c-8d30-06a246fc63dd +> diff --git a/README.md b/README.md index a46ae92..c8e15e9 100644 --- a/README.md +++ b/README.md @@ -1 +1,13 @@ -# .github \ No newline at end of file +uLogin/https://github.com/ivanm696 Hi there 👋 + diff --git a/index.md b/index.md new file mode 100644 index 0000000..bb05ae8 --- /dev/null +++ b/index.md @@ -0,0 +1,11 @@ +--- +layout: default +title: IVANM696 ORIGINAL +--- + +# 🌀 Intelligence System Status: OPERATIONAL +**Original Source:** [Visual-Studio-Code](https://github.com/Visual-Studio-Code) +**Architect:** ivanm696 +**Status:** Integrated with Mass + +☝️ *Everything starts from the terminal.* diff --git a/profile/.env b/profile/.env new file mode 100644 index 0000000..9c74607 --- /dev/null +++ b/profile/.env @@ -0,0 +1,4 @@ +@@ -1 +0,0 @@ +‎profile/.env‎ +токен id: +32ed782b-1f8c-4066-9325-d6288d7daa55/64354866-4b1b-504c-8d30-06a246fc63dd diff --git a/profile/README.md b/profile/README.md new file mode 100644 index 0000000..a6b73c2 --- /dev/null +++ b/profile/README.md @@ -0,0 +1,16 @@ +## Hi there 👋 + +https://code.visualstudio.com diff --git a/profile/workflows/codeql.yml b/profile/workflows/codeql.yml new file mode 100644 index 0000000..2f544ac --- /dev/null +++ b/profile/workflows/codeql.yml @@ -0,0 +1,97 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL Advanced" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: '24 8 * * 0' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + # Runner size impacts CodeQL analysis time. To learn more, please see: + # - https://gh.io/recommended-hardware-resources-for-running-codeql + # - https://gh.io/supported-runners-and-hardware-resources + # - https://gh.io/using-larger-runners (GitHub.com only) + # Consider using larger runners or machines with greater resources for possible analysis time improvements. + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + include: + # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift' + # Use `c-cpp` to analyze code written in C, C++ or both + # Use 'java-kotlin' to analyze code written in Java, Kotlin or both + # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both + # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, + # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. + # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how + # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # Add any setup steps before running the `github/codeql-action/init` action. + # This includes steps like installing compilers or runtimes (`actions/setup-node` + # or others). This is typically only required for manual builds. + # - name: Setup runtime (example) + # uses: actions/setup-example@v1 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + # If the analyze step fails for one of the languages you are analyzing with + # "We were unable to automatically build your code", modify the matrix above + # to set the build mode to "manual" for that language. Then modify this step + # to build your code. + # ℹ️ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + - name: Run manual build steps + if: matrix.build-mode == 'manual' + shell: bash + run: | + echo 'If you are using a "manual" build mode for one or more of the' \ + 'languages you are analyzing, replace this with the commands to build' \ + 'your code, for example:' + echo ' make bootstrap' + echo ' make release' + exit 1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 + with: + category: "/language:${{matrix.language}}" diff --git a/profile/workflows/pages build and deployment b/profile/workflows/pages build and deployment new file mode 100644 index 0000000..7ef9cdd --- /dev/null +++ b/profile/workflows/pages build and deployment @@ -0,0 +1,31 @@ +Current runner version: '2.331.0' +Runner Image Provisioner + Hosted Compute Agent + Version: 20260115.477 + Commit: 4b342d620503cbe250a3154040964899ea7c9b00 + Build Date: 2026-01-15T22:32:41Z + Worker ID: {01d4cfd4-e8ed-4acf-9f0e-1ac0b4a33916} + Azure Region: eastus2 +Operating System + Ubuntu + 24.04.3 + LTS +Runner Image + Image: ubuntu-24.04 + Version: 20260119.4.1 + Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20260119.4/images/ubuntu/Ubuntu2404-Readme.md + Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260119.4 +GITHUB_TOKEN Permissions + Contents: read + Metadata: read + Pages: write +Secret source: Actions +Prepare workflow directory +Prepare all required actions +Getting action download info +Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) +Download action repository 'actions/jekyll-build-pages@v1' (SHA:44a6e6beabd48582f863aeeb6cb2151cc1716697) +Download action repository 'actions/upload-pages-artifact@v3' (SHA:56afc609e74202658d3ffba0e8f6dda462b719fa) +Getting action download info +Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) +Complete job name: build diff --git a/profile/workflows/pulse.yml b/profile/workflows/pulse.yml new file mode 100644 index 0000000..388b8aa --- /dev/null +++ b/profile/workflows/pulse.yml @@ -0,0 +1,59 @@ +name: System_Pulse_Orchestrator + +on: + push: + branches: [ main ] + schedule: + - cron: '0 * * * *' # Теперь пульс каждый час, чтобы данные были свежими + workflow_dispatch: + +jobs: + refresh_original: + runs-on: ubuntu-latest + permissions: + contents: write + pages: write + id-token: write + + steps: + - name: Checkout Original + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Mass Infrastructure Scan + run: | + echo "📡 Сканирование Массы (microsoft/vscode)..." + # Получаем дату последнего движения в VS Code + MASS_DATE=$(curl -s https://api.github.com/repos/microsoft/vscode/commits/main | grep '"date":' | head -n 1 | sed 's/[^0-9T:-]//g') + echo "MASS_LAST_ACTIVITY=$MASS_DATE" >> $GITHUB_ENV + # Создаем JSON для сайта + echo "{\"last_pulse\": \"$MASS_DATE\", \"status\": \"OPERATIONAL\", \"origin\": \"msftgits-legacy\"}" > status.json + + - name: System Reset & Injection + run: | + git config --global user.name "msftgits" + git config --global user.email "msftgits@microsoft.com" + + # Обновление твоей секретной базы .env + echo "LAST_PULSE=$(date +'%Y-%m-%d %H:%M:%S')" > .env + echo "MASS_PULSE=${{ env.MASS_LAST_ACTIVITY }}" >> .env + echo "SYSTEM_STATUS=OPERATIONAL" >> .env + + git add . + if git diff --staged --quiet; then + echo "Изменений нет." + else + git commit -m "🌀 System Pulse: Integrated Mass Activity [${{ env.MASS_LAST_ACTIVITY }}]" + git push origin main + fi + + # --- Секция публикации на твой сайт --- + - name: Build and Upload Pages + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site + + - name: Deploy to GitHub Pages + uses: actions/deploy-pages@v4