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

[CI] license-header-check doesn't like Markdown files #434

Open
lorentey opened this issue Nov 18, 2024 · 1 comment
Open

[CI] license-header-check doesn't like Markdown files #434

lorentey opened this issue Nov 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lorentey
Copy link
Member

The "soundness" check called license-header-check is choking on the file .github/ISSUE_TEMPLATE/BUG_REPORT.md.

▸ Run curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-license-header.sh | bash
** ERROR: Unsupported file extension md for file (exclude or update this script): .github/ISSUE_TEMPLATE/BUG_REPORT.md
bash: line 74: expected_file_header: unbound variable
Error: Process completed with exit code 1.

This check is therefore disabled. Once the issue above is fixed, we can consider enabling it.

@lorentey lorentey added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 18, 2024
@FranzBusch
Copy link
Member

FranzBusch commented Nov 20, 2024

You can use a .licenseignore file. We normally ignore all markdown files https://github.com/apple/swift-nio/blob/2a3a333d8b35a0decb8980497a604e51313c4b2a/.licenseignore#L12

So this is not an issue with the soundness workflow but something that you have to do in your repository here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants