Skip to content

🛠️ Standard Settings #22

🛠️ Standard Settings

🛠️ Standard Settings #22

---
name: "🛠️ Standard Settings"
on:
workflow_dispatch:
inputs:
repo:
description: "Repository name"
required: true
type: string
defaults:
run:
shell: bash
# env:
permissions: read-all
jobs:
lookup:
runs-on: ubuntu-latest
name: Apply Standard Settings (${{ inputs.repo }})
permissions:
contents: read
strategy:
fail-fast: false
steps:
- name: Git clone
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
ref: ${{ github.base_ref }}
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: ">= 1.22.1"
- name: Apply
working-directory: ${{ github.workspace }}/scripts/standard-settings
env:
GITHUB_TOKEN: ${{ secrets.GH_PUBLIC_TOKEN }}
run: |
go run standard-settings.go --repo ${{ inputs.repo }}