Skip to content

Fix ruby version

Fix ruby version #231

name: trigger sync configs
on:
push:
paths:
- .github/workflows/trigger_sync_configs.yml
- Gemfile
- shared/**
- templates/**
- workflows/**
- projects
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