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

ENOENT: no such file or directory, open '/github/workspace/github_conf/branch_protection_rules.json' #460

Closed
atodorov opened this issue Apr 5, 2023 · 2 comments · Fixed by #762
Labels
Status: Need More Info Lacks enough info to make progress

Comments

@atodorov
Copy link

atodorov commented Apr 5, 2023

What version of secretlint are you using?
secretlint v6.2.3

What did you do? Please include the actual steps causing the issue.

I've enabled MegaLinter on my repository, which includes secretlint. It's failing with the error in subject. See
gluwa/creditcoin#899 and https://github.com/gluwa/creditcoin/actions/runs/4621766031/jobs/8173641813

What did you expect to happen?
No failure.

What actually happened? Please include the actual, raw output from secretlint.

❌ Linted [REPOSITORY] files with [secretlint]: Found 1 error(s) - (14.85s) (expand for details)
  - Using [secretlint v6.2.3] https://megalinter.io/6.22.2/descriptors/repository_secretlint
  - MegaLinter key: [REPOSITORY_SECRETLINT]
  - Rules config: [.secretlintrc.json]
  - Ignore file: [.secretlintignore]
  --Error detail:
  [Error: ENOENT: no such file or directory, open '/github/workspace/github_conf/branch_protection_rules.json'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/github/workspace/github_conf/branch_protection_rules.json'
  }
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 5, 2023
@azu
Copy link
Member

azu commented Apr 6, 2023

This seems to be a problem with MegaLinter or file permissions.

atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 11, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 13, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 14, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 20, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 21, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 25, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue Apr 28, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue May 1, 2023
atodorov added a commit to gluwa/creditcoin that referenced this issue May 4, 2023
nathanwhit pushed a commit to gluwa/creditcoin that referenced this issue Jun 7, 2023
@azu azu added the Status: Need More Info Lacks enough info to make progress label Jun 30, 2023
@azu
Copy link
Member

azu commented Nov 12, 2023

azu added a commit that referenced this issue Feb 17, 2024
- update globby@14.0.1 which  Fix read permission error on ignore files search

refs sindresorhus/globby#259
closes #460
@azu azu linked a pull request Feb 17, 2024 that will close this issue
@azu azu closed this as completed in #762 Feb 17, 2024
azu added a commit that referenced this issue Feb 17, 2024
- update globby@14.0.1 which  Fix read permission error on ignore files search

refs sindresorhus/globby#259
closes #460
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Need More Info Lacks enough info to make progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants