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

How can i solve this issue "Error: ENOENT: no such file or directory, open '/home/runner/jira/config.yml'" #32

Open
atapatel opened this issue Sep 20, 2021 · 1 comment

Comments

@atapatel
Copy link

getting error
Run atlassian/gajira-find-issue-key@master
with:
from: commits
internal/fs/utils.js:220
throw err;
^

Error: ENOENT: no such file or directory, open '/home/runner/jira/config.yml'
at Object.openSync (fs.js:440:3)
at Object.readFileSync (fs.js:342:35)
at Object.104 (/home/runner/work/_actions/atlassian/gajira-find-issue-key/master/dist/index.js:1:7925)
at webpack_require (/home/runner/work/_actions/atlassian/gajira-find-issue-key/master/dist/index.js:1:154)
at startup (/home/runner/work/_actions/atlassian/gajira-find-issue-key/master/dist/index.js:1:291)
at module.exports.18 (/home/runner/work/_actions/atlassian/gajira-find-issue-key/master/dist/index.js:1:346)
at Object. (/home/runner/work/_actions/atlassian/gajira-find-issue-key/master/dist/index.js:1:356)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/runner/jira/config.yml'

@rokcarl
Copy link

rokcarl commented Oct 8, 2021

I managed to solve this by logging in. Add another step before the one you're doing:

            - name: Jira login
              uses: atlassian/[email protected]
              env:
                  JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
                  JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
                  JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

It's a pretty bad error message though.

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

No branches or pull requests

2 participants