Remove dry-view from management #233
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: trigger sync configs | |
on: | |
push: | |
paths: | |
- .github/workflows/trigger_sync_configs.yml | |
- Gemfile | |
- shared/** | |
- templates/** | |
- workflows/** | |
- projects | |
- bin/** | |
branches: | |
- main | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.2" | |
- name: Install dependencies | |
run: gem install ossy --no-document | |
- name: Trigger config synchronization in dry-rb repositories | |
env: | |
GITHUB_LOGIN: dry-bot | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
run: | | |
for name in `cat projects` | |
do | |
echo "Syncing $name" | |
ossy gh w dry-rb/$name sync_configs | |
done |