diff --git a/.github/ISSUE_TEMPLATE/new-render-bug-report.md b/.github/ISSUE_TEMPLATE/new-render-bug-report.md new file mode 100644 index 0000000000..b93b98b444 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-render-bug-report.md @@ -0,0 +1,38 @@ +--- +name: New Render Bug Report +about: Create a report about the bugs you have found in the new render +title: '' +labels: new render +assignees: claragvinola + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**Steps to Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots or screen recordings** +If applicable, add screenshots or screen recording to help illustrate your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/workflows/build-bundle.yml b/.github/workflows/build-bundle.yml index 6365ba93cb..4626c4dc2e 100644 --- a/.github/workflows/build-bundle.yml +++ b/.github/workflows/build-bundle.yml @@ -40,7 +40,7 @@ on: jobs: build-bundle: name: Build and Upload Penpot Bundle - runs-on: ubuntu-24.04 + runs-on: penpot-runner-01 env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/build-docker-devenv.yml b/.github/workflows/build-docker-devenv.yml index 3d5bae1d12..a2aaee24c0 100644 --- a/.github/workflows/build-docker-devenv.yml +++ b/.github/workflows/build-docker-devenv.yml @@ -7,9 +7,14 @@ jobs: build-and-push: name: Build and push DevEnv Docker image environment: release-admins - runs-on: ubuntu-24.04 + runs-on: penpot-runner-02 steps: + - name: Set common environment variables + run: | + # Each job execution will use its own docker configuration. + echo "DOCKER_CONFIG=${{ runner.temp }}/.docker-${{ github.run_id }}-${{ github.job }}" >> $GITHUB_ENV + - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 76d5c72bc1..2d03826b65 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -19,9 +19,14 @@ on: jobs: build-and-push: name: Build and Push Penpot Docker Images - runs-on: ubuntu-24.04-arm + runs-on: penpot-runner-02 steps: + - name: Set common environment variables + run: | + # Each job execution will use its own docker configuration. + echo "DOCKER_CONFIG=${{ runner.temp }}/.docker-${{ github.run_id }}-${{ github.job }}" >> $GITHUB_ENV + - name: Checkout code uses: actions/checkout@v4 with: @@ -66,6 +71,15 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + # To avoid the “429 Too Many Requests” error when downloading + # images from DockerHub for unregistered users. + # https://docs.docker.com/docker-hub/usage/ + - name: Login to DockerHub Registry + uses: docker/login-action@v3 + with: + username: ${{ secrets.PUB_DOCKER_USERNAME }} + password: ${{ secrets.PUB_DOCKER_PASSWORD }} + - name: Extract metadata (tags, labels) id: meta uses: docker/metadata-action@v5 diff --git a/.github/workflows/commit-checker.yml b/.github/workflows/commit-checker.yml index c5c0790f60..f7126a40cb 100644 --- a/.github/workflows/commit-checker.yml +++ b/.github/workflows/commit-checker.yml @@ -26,7 +26,7 @@ jobs: - name: Check Commit Type uses: gsactions/commit-message-checker@v2 with: - pattern: '^(((:(lipstick|globe_with_meridians|wrench|books|arrow_up|arrow_down|zap|ambulance|construction|boom|fire|whale|bug|sparkles|paperclip|tada|recycle|rewind|construction_worker):)\s[A-Z].*[^.])|(Merge|Revert).+[^.])$' + pattern: '^(((:(lipstick|globe_with_meridians|wrench|books|arrow_up|arrow_down|zap|ambulance|construction|boom|fire|whale|bug|sparkles|paperclip|tada|recycle|rewind|construction_worker):)\s[A-Z].*[^.])|(Merge|Revert|Reapply).+[^.])$' flags: 'gm' error: 'Commit should match CONTRIBUTING.md guideline' checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request diff --git a/.github/workflows/tests-mcp.yml b/.github/workflows/tests-mcp.yml new file mode 100644 index 0000000000..a733a76d0f --- /dev/null +++ b/.github/workflows/tests-mcp.yml @@ -0,0 +1,45 @@ +name: "MCP CI" + +on: + pull_request: + branches: + - develop + - staging + - main + + types: + - opened + - synchronize + + paths: + - 'mcp/**' + + push: + branches: + - develop + - staging + - main + + paths: + - 'mcp/**' + +jobs: + test: + name: "Test" + runs-on: penpot-runner-02 + container: penpotapp/devenv:latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup + working-directory: ./mcp + run: ./scripts/setup + + - name: Check + working-directory: ./mcp + run: | + pnpm run fmt:check; + pnpm -r run build; + pnpm -r run types:check;