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

Bad Credentials for GitHub Enterprise edition #160

Open
Abhijeet-Pubba opened this issue Jun 26, 2023 · 2 comments
Open

Bad Credentials for GitHub Enterprise edition #160

Abhijeet-Pubba opened this issue Jun 26, 2023 · 2 comments

Comments

@Abhijeet-Pubba
Copy link

Hey there,

I have been trying to use this action to create issues but couldn't. Steps in my .yml file looks something like below

...
steps:
  - uses: actions/checkout@v3
  - name: Create Issue Action
    uses: JasonEtco/create-an-issue@v2
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    with:
      assignees: <username>
      update_existing: true
      search_existing: all
...

And ISSUE_TEMPLATE.md like below

---
title: "[Bug] : Something unexpected happened"
---
"A bug happened!"

Action is Failing with HttpError: Bad credentials for our enterprise edition

debug     Reading from file .github/ISSUE_TEMPLATE.md
ℹ  info      Front matter for .github/ISSUE_TEMPLATE.md is { title: '[Bug] : Something unexpected happened' }
⬤  debug     Templates compiled {
  body: '"A bug happened!"\n',
  title: '[Bug] : Something unexpected happened'
}
ℹ  info      Fetching issues with title "[Bug] : Something unexpected happened"
Error: Bad credentials
✖  fatal     HttpError: Bad credentials 
    at /Users/apubba/Desktop/actions-runner/_work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:5855:21
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async createAnIssue (/Users/apubba/Desktop/actions-runner/_work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:41271:32)
@ConnorDY
Copy link

ConnorDY commented Sep 1, 2023

I have the same issue! I might be able to contribute a PR to fix this.

@EdouardF
Copy link

EdouardF commented Apr 9, 2024

Hey @JasonEtco, in my org we'd love to use this action but this is clearly a blocking issue... Any plans to fix it?
@ConnorDY any PR incoming that @JasonEtco could merge?

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

3 participants