-
Notifications
You must be signed in to change notification settings - Fork 125
Labels
good first issueGood for newcomersGood for newcomers
Description
Description
Add copyright and SPDX license headers to all shell scripts (.sh files) in the repository. This is a quick task with only 5 files, ideal for a new contributor to familiarize themselves with the codebase structure.
Acceptance Criteria
- Add headers to all 5 shell scripts listed below
- Headers placed immediately after the shebang line
- Scripts remain executable and functional
- No syntax errors introduced
File List
| File Path | Location |
|---|---|
.devcontainer/scripts/on-create.sh |
DevContainer setup |
.devcontainer/scripts/post-create.sh |
DevContainer setup |
.github/skills/video-to-gif/scripts/convert.sh |
Skills |
scripts/dev-tools/pr-ref-gen.sh |
Dev tools |
scripts/tests/Fixtures/Security/insecure-download.sh |
Test fixtures |
Implementation Steps
-
For each file, insert the following header after the shebang line:
#!/bin/bash # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: MIT
-
If a file has no shebang, add both the shebang and the header
-
Verify scripts remain valid:
bash -n scripts/dev-tools/pr-ref-gen.sh
Example Before
#!/bin/bash
set -euo pipefail
# Script content...Example After
#!/bin/bash
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: MIT
set -euo pipefail
# Script content...Time Estimate
30 minutes
Dependencies
- Issue docs: add copyright header guidelines for contributors #303 (documentation) recommended but not required
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers