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

Error: An error occurred while creating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees #179

Open
luane-aquino opened this issue Nov 8, 2024 · 0 comments

Comments

@luane-aquino
Copy link

Hi guys, I am getting this error when trying to run the workflow to create issues.

Error:

Run JasonEtco/create-an-issue@v2
⬤  debug     Reading from file .github/issue1.md
ℹ  info      Front matter for .github/issue1.md is { title: 'Components' }
⬤  debug     Templates compiled { body: 'testing\n', title: 'Components' }
ℹ  info      Creating new issue Components
✖  error     An error occurred while creating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check .github/issue1.md!
✖  error     HttpError: Resource not accessible by integration 
    at /home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:5[8](https://github.com/luane-aquino/repo7/actions/runs/11739454377/job/32703977375#step:3:9)55:21
    at process.processTicksAndRejections (node:internal/process/task_queues:[9](https://github.com/luane-aquino/repo7/actions/runs/11739454377/job/32703977375#step:3:10)5:5)

Here is my workflow create-issue.yaml

name: Create issues

on:
  push:
    branches:
        - 'main'

jobs:
  create_issues:
    runs-on: ubuntu-latest
    if: github.run_number == 1
    steps:
      - uses: actions/checkout@v2

      - name: create issue1 by template
        uses: JasonEtco/create-an-issue@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          filename: .github/issue1.md

      - name: create issue2 by template
        uses: JasonEtco/create-an-issue@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          filename: .github/issue2.md

      - name: create issue3 by template
        uses: JasonEtco/create-an-issue@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          filename: .github/issue3.md

      - name: create issue4 by template
        uses: JasonEtco/create-an-issue@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          filename: .github/issue4.md

And here is the issue1.md

---
title: Components
---

testing

Any help is welcomed 🙏🏽

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

1 participant