Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/apply-admin-safe-settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Apply Admin Safe Settings
on:
workflow_dispatch:
inputs:
dry-run:
description: Whether to run in `dry-run` mode or not
required: false
type: boolean
default: true

permissions: {}

jobs:
apply-safe-settings:
permissions:
contents: read
# This is required to work with environment secrets in the called workflow
secrets: inherit # zizmor: ignore[secrets-inherit]
uses: ./.github/workflows/libsafe-settings.yml
with:
admin-repo: admin
config-path: admin-safe-settings
dry-run: ${{ inputs.dry-run }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Apply Admin Safe Settings
name: Apply Formula Safe Settings
on:
workflow_dispatch:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions admin-safe-settings/deployment-settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
restrictedRepos:
include:
- admin
3 changes: 3 additions & 0 deletions admin-safe-settings/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
repository:
topics:
- safe-settings
Loading