Comment out require_private in example templates and remove execute bit

Example files are not real credentials — they should not call
require_private (which warns on open permissions) and should not
be executable (which would cause them to be sourced and override
the real credential files).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-03-25 19:50:57 +01:00
commit 1fe168e015
7 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# Forgejo API token used by Claude Code to read/write issues and PRs
# Copy to 99-claude and fill in your token, then: chmod 700 99-claude
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export FORGEJO_ISSUE_TOKEN_FOR_CLAUDE=your-token-here

2
99-eulerpool.example Executable file → Normal file
View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# Eulerpool API key
# Copy to 99-eulerpool and fill in your key, then: chmod 700 99-eulerpool
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export EULERPOOL_API_KEY=your-api-key-here

View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# API key for Google Gemini (generative AI)
# Copy to 99-gemini and fill in your key, then: chmod 700 99-gemini
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export GEMINI_API_KEY=your-key-here

View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# API key for Google Cloud services
# Copy to 99-google and fill in your key, then: chmod 700 99-google
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export GOOGLE_API_KEY=your-key-here

View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# Access token for Hugging Face (ML model hub and inference API)
# Copy to 99-huggingface and fill in your token, then: chmod 700 99-huggingface
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export HF_TOKEN=your-token-here

2
99-podman-kode.example Executable file → Normal file
View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# Podman login token for kode.naiv.no container registry
# Copy to 99-podman-kode and fill in your token, then: chmod 700 99-podman-kode
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export KODE_REGISTRY_TOKEN=your-token-here

View file

@ -1,5 +1,5 @@
# shellcheck shell=bash
# API token for Replicate (cloud ML model hosting)
# Copy to 99-replicate and fill in your token, then: chmod 700 99-replicate
require_private "${BASH_SOURCE[0]}"
#require_private "${BASH_SOURCE[0]}"
export REPLICATE_API_TOKEN=your-token-here