-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When running this action, we get the following error, and it doesn't continue with the rest of the repos.
Checking ORG/repo for compatible package managers
Traceback (most recent call last):
File "/action/workspace/evergreen.py", line 566, in <module>
main() # pragma: no cover
~~~~^^
File "/action/workspace/evergreen.py", line 184, in main
with open("dependabot-output.yaml", "w", encoding="utf-8") as yaml_file:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'dependabot-output.yaml'
The GitHub App we are using has the following permissions:

We are running it every week, and the last successful run was on 2025-09-06, no changes were made to the workflows between then and now. I just tried upgrading to the latest version, v1.24.2, but I'm still experiencing the same issue.
To Reproduce
Use this config and run the workflow:
name: Weekly dependabot checks
on:
workflow_dispatch:
schedule:
- cron: "3 2 * * 6"
permissions:
contents: read
jobs:
evergreen:
name: evergreen
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Run evergreen action
uses: github/[email protected]
env:
GH_APP_ID: ${{ secrets.GH_APP_ID }}
GH_APP_INSTALLATION_ID: ${{ secrets.GH_APP_INSTALLATION_ID }}
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
ORGANIZATION: BESTSELLER
TITLE: "Add dependabot configuration"
BODY: "Please add this dependabot configuration so that we can keep the dependencies in this repo up to date and secure. For help or questions please reach out to Engineering Services"
DRY_RUN: true
UPDATE_EXISTING: true
BATCH_SIZE: 100Expected behavior
That we are not getting this error, and the workflow finishes successfully.
Screenshots
No response
Additional context
No response
yuiri-sedykh and dimapasko
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working