Skip to content

feat: add GitHub Actions workflow to auto-update W3C groups list#496

Closed
marcoscaceres wants to merge 2 commits into
mainfrom
feat/auto-update-groups
Closed

feat: add GitHub Actions workflow to auto-update W3C groups list#496
marcoscaceres wants to merge 2 commits into
mainfrom
feat/auto-update-groups

Conversation

@marcoscaceres

Copy link
Copy Markdown
Collaborator

Summary

  • Weekly cron (Monday 03:23 UTC) + manual dispatch
  • Uses git add --force for gitignored data directory
  • Bot identity for commits, no-op when data unchanged

Closes #395

@marcoscaceres
marcoscaceres requested a review from Copilot April 25, 2026 12:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a scheduled/manual GitHub Actions workflow to keep the generated W3C groups data (data/w3c/groups.json) up to date in the repository, addressing the stale list reported in #395.

Changes:

  • Introduces a weekly cron workflow (plus workflow_dispatch) to rebuild and run the W3C groups update script.
  • Commits and pushes the updated data/w3c/groups.json (forcing add for a gitignored path).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/update-groups.yml
Adds weekly scheduled workflow that runs update-w3c-groups-list script
and commits changes if any groups were added or removed.

Closes #395

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/update-groups.yml
Comment thread .github/workflows/update-groups.yml
Comment thread .github/workflows/update-groups.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

name: Update W3C groups list
on:
schedule:
- cron: '23 3 * * 1' # Weekly on Monday at 03:23 UTC

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Probably best to do daily.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Oh, wait, this needs to happen while the server is running, not from here. The repo doesn’t store data.

@marcoscaceres
marcoscaceres marked this pull request as ready for review April 25, 2026 15:27
env:
DATA_DIR: ${{ github.workspace }}/data
- name: Commit changes
run: |

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It should only commit if there’s a change.

@marcoscaceres

Copy link
Copy Markdown
Collaborator Author

Closing — the repo doesn't store data files. The W3C groups list update needs to happen on the running server (via the existing webhook/prestart mechanism), not via GitHub Actions committing to the repo. Need to rethink the approach: either a cron on the server itself, or a scheduled webhook trigger.

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.

w3c/groups: auto-update list of working groups

2 participants