Skip to content

chore: create issue template & workflow to automatically open issue for browser testing dependencies updates (Selenium / Playwright) #62845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 23, 2025

Conversation

DeagleGross
Copy link
Member

The idea is to simplify the process of updating browser testing dependencies. Today engineers do it manually by instructions once per month.

The process I am proposing is:

  1. There is an issue template with all instructions, so that Copilot can pick this up (even if all automation fails)
  2. There is a workflow which runs on the first day of month, and it opens an issue with the same body as in the issue template (unfortunately, there is no way to share them in single file, or i did not find it). Workflow should open an issue and automatically assign copilot to it as per gh issue create docs.

Open questions:

  1. i was testing it in a fork, and flow works without --assignee @copilot.
  2. with --assignee @copilot it does not work with error "GraphQL: Could not resolve to a User with the login of '@copilot'. (u000)". I suppose that happens in fork only, and it should work in dotnet/aspnetcore repo
  3. should we also add a ping of build-ops / Will?

@DeagleGross DeagleGross self-assigned this Jul 21, 2025
@Copilot Copilot AI review requested due to automatic review settings July 21, 2025 18:59
@DeagleGross DeagleGross added the dependencies Pull requests that update a dependency file label Jul 21, 2025
@DeagleGross DeagleGross requested review from wtgodbe and a team as code owners July 21, 2025 18:59
@github-actions github-actions bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Jul 21, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR creates automation infrastructure for monthly browser testing dependency updates by introducing an issue template and automated workflow. The goal is to streamline the previously manual process of updating Selenium and Playwright dependencies that engineers performed monthly.

  • Adds GitHub issue template with detailed instructions for updating browser testing dependencies
  • Creates scheduled workflow that automatically opens issues on the first day of each month
  • Provides both automated and manual trigger options for the dependency update process

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/browsertesting-open-issue.yml Monthly scheduled workflow to automatically create dependency update issues
.github/ISSUE_TEMPLATE/70_browsertesting_update_body.md Template content used by the automated workflow for issue creation
.github/ISSUE_TEMPLATE/70_browsertesting_update.yml Manual issue template with form fields for browser testing dependency updates
Comments suppressed due to low confidence (1)

.github/ISSUE_TEMPLATE/70_browsertesting_update.yml:1

  • The template name 'Request Dep Updates' is too generic and abbreviated. It should be more descriptive like 'Browser Testing Dependencies Update Request' to clearly indicate what type of dependencies are being updated.
name: "Request Dep Updates"

@gfoidl gfoidl added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Jul 22, 2025
Copy link
Member

@wtgodbe wtgodbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good, but we should add to the .md that @dotnet/aspnet-build should be pinged for review on the PR

@DeagleGross DeagleGross merged commit af89ea4 into main Jul 23, 2025
9 checks passed
@DeagleGross DeagleGross deleted the dmkorolev/browsertesting-deps branch July 23, 2025 08:38
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview7 milestone Jul 23, 2025
@sebastienros
Copy link
Member

I quickly looked for an action that would allow to write the same prompt as in the issue template but didn't find anything. It seems weird that there isn't a copilot chat GH action that would do it natively so we can skip the issue creation (noise).

Nevertheless it looks very cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework build-ops dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants