Skip to content

Automation to get new playwright version PR.#36

Open
digitronik wants to merge 1 commit into
mainfrom
mr_automation
Open

Automation to get new playwright version PR.#36
digitronik wants to merge 1 commit into
mainfrom
mr_automation

Conversation

@digitronik

Copy link
Copy Markdown
Member

Old: detect new version → create git tag → trigger build-and-publish.yml → build & push to Docker Hub

New: detect new version → update PLAYWRIGHT_VERSION/PLAYWRIGHT_MINOR_VERSION in Dockerfile → open a PR → maintainer merges → Konflux Tekton pipeline builds & releases

@digitronik
digitronik requested a review from patchkez June 18, 2026 07:02
@patchkez

Copy link
Copy Markdown
Contributor

I looked at your PR and whole .github/workflows/check-playwright-version.yml file can be replaced most probably with Renovate/Mintmaker.

something like this -> renovate.json created in root of this repository:

 {
    "$schema": "https://docs.renovatebot.com/renovate-schema.json",
    "customManagers": [
      {
        "customType": "regex",
        "fileMatch": ["^docker/Dockerfile\\..*$"],
        "matchStrings": [
          "ARG PLAYWRIGHT_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"
        ],
        "depNameTemplate": "playwright",
        "datasourceTemplate": "npm",
        "extractVersionTemplate": "^(?<version>.*)$"
      }
    ]
  }

Regarding PLAYWRIGHT_MINOR_VERSION, I believe we can extract this in the Dockerfile?
We can configure this ^ check to be running every 4 hours or based on some schedule. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants