Skip to content

feat: add GitHub Actions workflow for automatic github/linguist updates#475

Open
jakubdomanski wants to merge 53 commits into
Boeing:mainfrom
jakubdomanski:main
Open

feat: add GitHub Actions workflow for automatic github/linguist updates#475
jakubdomanski wants to merge 53 commits into
Boeing:mainfrom
jakubdomanski:main

Conversation

@jakubdomanski
Copy link
Copy Markdown

Closes: #466

Summary

This PR adds a GitHub Actions workflow that automatically updates the pinned github/linguist SHA on a weekly schedule - every Monday at midnight. I matched dependabot weekly runs instead of proposed monthly runs.

Why This Matters

See this comment #465 (review) and linked issue.

What The Workflow Does

  1. Fetches the latest github/linguist SHA from the upstream repository
  2. Compares it against the pinned SHA in internal/generate/knownfiles/main.go
  3. If different, updates the SHA and regenerates pkg/filetype/known_files_gen.go
  4. Creates a PR with the updated files (or skips if already up to date)
  5. Cleans up the branch on failure scenarios

Test Results

Please verify that REPO > Settings > Actions > General > Allow GitHub Actions to create and approve pull requests = enabled before merging.

jakubdomanski and others added 30 commits May 13, 2026 10:20
…main.go to use dynamic SHA enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
Add GitHub Actions workflow for dynamic Linguist SHA updates
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
jakubdomanski and others added 23 commits May 13, 2026 16:34
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
Revert "chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8"
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
Revert "chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8"
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
Revert "chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8"
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
@jakubdomanski jakubdomanski requested a review from a team as a code owner May 13, 2026 16:06
@kehoecj kehoecj added OSS Community Contribution Contributions from the OSS Community waiting-on-maintainer-review PR is waiting to be reviewed and functionally tested by the maintainers labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OSS Community Contribution Contributions from the OSS Community waiting-on-maintainer-review PR is waiting to be reviewed and functionally tested by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin Linguist version in go generate to make builds reproducible

3 participants