feat: add GitHub Actions workflow for automatic github/linguist updates#475
Open
jakubdomanski wants to merge 53 commits into
Open
feat: add GitHub Actions workflow for automatic github/linguist updates#475jakubdomanski wants to merge 53 commits into
jakubdomanski wants to merge 53 commits into
Conversation
…main.go to use dynamic SHA
…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
…and include it in commit
Add GitHub Actions workflow for dynamic Linguist SHA updates
…main.go to use dynamic SHA, enable manual triggering for Linguist SHA update workflow
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
…ffe1ce2679873fe8"
Revert "chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8"
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
…ffe1ce2679873fe8"
Revert "chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8"
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
…ffe1ce2679873fe8"
Revert "chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8"
chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #466
Summary
This PR adds a GitHub Actions workflow that automatically updates the pinned
github/linguistSHA 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
github/linguistSHA from the upstream repositoryinternal/generate/knownfiles/main.gopkg/filetype/known_files_gen.goTest Results
Already up to date: https://github.com/jakubdomanski/config-file-validator/actions/runs/25811048563/job/75827125491
**PR already exists but is not merged yet **: https://github.com/jakubdomanski/config-file-validator/actions/runs/25810963926/job/75826828703
Successful update run: https://github.com/jakubdomanski/config-file-validator/actions/runs/25808773491/job/75818941976
Update PR: chore: update github-linguist SHA to e535c9adf5306132e9df0b75ffe1ce2679873fe8 jakubdomanski/config-file-validator#17
Failure cleanup test: https://github.com/jakubdomanski/config-file-validator/actions/runs/25808659049/job/75818511199 - verified that the
autopr/XXXbranch is deleted when the workflow fails, tested withREPO > Settings > Actions > General > Allow GitHub Actions to create and approve pull requests = disabledPlease verify that
REPO > Settings > Actions > General > Allow GitHub Actions to create and approve pull requests = enabledbefore merging.