Skip to content

Apply Repo Settings #112

Apply Repo Settings

Apply Repo Settings #112

name: Apply Repo Settings
on:
push:
branches:
- main
paths:
- .github/settings.yml
schedule:
- cron: 0 0 * * * # daily
workflow_dispatch: ~
jobs:
update-settings:
runs-on: ubuntu-latest
steps:
# https://github.com/mooseburgr/repository-settings-action
- name: Repository Settings Action
uses: mooseburgr/repository-settings-action@v0.1.1
with:
token: ${{ secrets.GH_PAT }}
# optionally override the default settings file path
settings-path: .github/settings.yml