Skip to content

Remove allowed-files restriction from evergreen workflow - #73

Merged
mrjf merged 2 commits into
mainfrom
copilot/allow-all-files-in-evergreen-job
Apr 8, 2026
Merged

Remove allowed-files restriction from evergreen workflow#73
mrjf merged 2 commits into
mainfrom
copilot/allow-all-files-in-evergreen-job

Conversation

Copilot AI commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

The evergreen agent's push-to-pull-request-branch was failing because the allowed-files list only permitted 5 .github/workflows/ files. Any PR fix touching source, tests, config, or playground files was rejected.

  • Removed the allowed-files constraint from evergreen.md, matching how autoloop.md already handles this (no restriction = all files allowed)
  • Recompiled evergreen.lock.yml via gh aw compile

Before:

safe-outputs:
  push-to-pull-request-branch:
    target: "*"
    max: 3
    allowed-files:
      - ".github/workflows/autoloop.lock.yml"
      - ".github/workflows/autoloop.md"
      - ".github/workflows/evergreen.lock.yml"
      - ".github/workflows/evergreen.md"
      - ".github/workflows/pages.yml"

After:

safe-outputs:
  push-to-pull-request-branch:
    target: "*"
    max: 3

Note: protected_files and protected_path_prefixes (e.g. .github/, lockfiles, CODEOWNERS) remain enforced by the compiler defaults — this only removes the allowlist filter.

Copilot AI assigned Copilot and mrjf Apr 8, 2026
Copilot AI linked an issue Apr 8, 2026 that may be closed by this pull request
… files

The push_to_pull_request_branch operation was failing because the allowed-files
list was too restrictive. Remove the allowed-files configuration entirely so
the evergreen agent can push changes to any file when fixing PRs.

Recompiled with gh aw compile.

Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/7916d87c-352c-40ab-853b-bf9a5e0d06f3

Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Copilot AI changed the title [WIP] Update evergreen job to allow all files Remove allowed-files restriction from evergreen workflow Apr 8, 2026
Copilot AI requested a review from mrjf April 8, 2026 17:10
Copilot finished work on behalf of mrjf April 8, 2026 17:10
@mrjf
mrjf marked this pull request as ready for review April 8, 2026 17:14
@mrjf
mrjf merged commit fa6e9ca into main Apr 8, 2026
16 checks passed
@mrjf
mrjf deleted the copilot/allow-all-files-in-evergreen-job branch April 8, 2026 17:33
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.

Need to allow ALL files from evergreen job

2 participants