githubprojectattachmentgithub-issues

github projects - attach file to issue: file type not allowed


We'd like to attach various file types to our issues on github projects: pdf, database files, our own custom binary files... It doesn't work out of the box, "File type not allowed: .fdw". Is there a way to fix this without using third party file storing providers or other hacks?


Solution

  • Here's the answer from github support:

    GitHub supports attaching certain file types to issues, but custom file extensions like .frg and .fdw are not supported directly. However, you can work around this limitation by compressing these files into a supported archive format like .zip, .gz, or .tgz. Once compressed, you can attach the archive to your issues.
    To attach a .zip file to an issue:

    1. Compress your .frg or .fdw files into a .zip archive.

    2. Drag and drop the .zip file into the comment box of the issue or click the Attach files button in the formatting bar to upload it.

    3. The file will be uploaded, and an anonymized URL will be generated in the comment.

    Keep in mind that the maximum file size for attachments is 25MB for non-image files. If your compressed files exceed this limit, you may need to reduce their size or use an external file-sharing service and include the link in the issue.