Skip to content
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

feat(IDX): create bot check code #70

Merged
merged 10 commits into from
Dec 4, 2024
Merged

feat(IDX): create bot check code #70

merged 10 commits into from
Dec 4, 2024

Conversation

cgundy
Copy link
Member

@cgundy cgundy commented Dec 4, 2024

This PR creates the code for checking the list of approved files that the bot is allowed to edit. This is how it will work:

  • in each public repo there will be a file .github/repo_policies/bot_approved_files.json containing a list of files changed by the bot
  • load this file
  • check the changed files in the PR
  • if the changed files are within the approved files pass the workflow, otherwise fail

@cgundy cgundy changed the title Create bot check code feat(IDX): create bot check code Dec 4, 2024
@cgundy cgundy marked this pull request as ready for review December 4, 2024 12:57
@cgundy cgundy requested a review from a team as a code owner December 4, 2024 12:57
@cgundy cgundy merged commit 827d94c into main Dec 4, 2024
3 checks passed
@cgundy cgundy deleted the create-bot-check-code branch December 4, 2024 14:08
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.

2 participants