Apply Repo Settings #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |