browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

feat(workflows): update MDN urls via PR

Open caugner opened this issue 1 year ago • 2 comments

Summary

Adds a workflow that updates the MDN urls via PR.

Test results and supporting details

Used the update-browser-releases workflow as a template.

Related issues

Follow-up of https://github.com/mdn/browser-compat-data/pull/24669. Unblocks https://github.com/mdn/browser-compat-data/pull/23810.

caugner avatar Oct 15 '24 13:10 caugner

This workflow would also need to update Daniel's package to get the latest list of pages. Could we add that step in?

queengooborg avatar Oct 16 '24 22:10 queengooborg

This workflow would also need to update Daniel's package to get the latest list of pages. Could we add that step in?

I don't think they have to happen together, and I wouldn't want to couple them. Daniel's package would get auto-upgraded once we merge your PR that dowgrades these errors to warnings.

Edit: Note also that once those errors are warnings, missing or outdated URLs might get introduced by other PRs as well.

caugner avatar Oct 16 '24 22:10 caugner

fyi, this workflow adds a comment to a dependabot PR: https://github.com/web-platform-dx/web-features/blob/main/.github/workflows/bcd_upgrade_checklist.yml

Maybe we could implement something similar here to push a commit to the @ddbeck/mdn-content-inventory dependabot PR?

Elchi3 avatar Oct 24 '24 12:10 Elchi3

Maybe we could implement something similar here to push a commit to the @ddbeck/mdn-content-inventory dependabot PR?

Yes, this is what I have done now. 👍

caugner avatar Oct 24 '24 12:10 caugner