GitHub
GH CLI
Usage
bash
# set visibility to private
gh repo edit $REPO --visibility private --accept-visibility-change-consequences
# add topic
gh repo edit $REPO --add-topic $TOPIC
# set secrets
gh secret set -f .envalias
bash
# delete repo alias
gh alias set repo-delete 'api -X DELETE "repos/$1"'
# transfer repo ownership alias
gh alias set transfer 'api repos/$1/transfer -f new_owner=$2'Github Actions
- Paths Changes Filter - Conditionally run actions based on files modified by PR, feature branch or pushed commits.
- git-auto-commit Action
- github-actions-cache-server - Self-hosted GitHub Actions cache server implementation. Compatible with official 'actions/cache' action
Cookbook
Ignore dependabot PRs
yaml
jobs:
pre-commit:
if: github.actor != 'dependabot[bot]'