swiftlang / swiftlang/github-workflows

Support .devcontainer/Dockerfile for license headers check

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
115
Forks
57
Avg merge
1d 8h
Merged PRs (30d)
3

Description

Run curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-license-header.sh | bash
  curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-license-header.sh | bash
  shell: /usr/bin/bash -e {0}
  env:
    PROJECT_NAME: VS Code Swift
** ERROR: Unsupported file extension Dockerfile for file (exclude or update this script): .devcontainer/Dockerfile
bash: line 74: expected_file_header: unbound variable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .devcontainer/Dockerfile and run the license-header command shown in the issue to reproduce the unsupported-extension and unbound-variable errors. Read the referenced check-license-header.sh script to understand how Dockerfile is handled. Done means the check accepts .devcontainer/Dockerfile and completes without either error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, dockerfile
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.