Sha256: ca2acb907e743798da900f322cf95b51ec334b4430ca5e03f2879c88352a926e

Contents?: true

Size: 1.01 KB

Versions: 20

Compression:

Stored size: 1.01 KB

Contents

# this file is managed by dry-rb/devtools project

name: sync_configs

on:
  repository_dispatch:

jobs:
  sync-configs:
    runs-on: ubuntu-latest
    if: github.event.action == 'sync_configs'
    steps:
      - uses: actions/checkout@v1
      - name: Update configuration files from devtools
        env:
          GITHUB_LOGIN: dry-bot
          GITHUB_TOKEN: ${{ secrets.GH_PAT }}
        run: |
          git clone https://github.com/dry-rb/devtools.git tmp/devtools

          if [ -f ".github/workflows/custom_ci.yml" ]; then
            rsync -av --exclude '.github/workflows/ci.yml' tmp/devtools/shared/ . ;
          else
            rsync -av tmp/devtools/shared/ . ;
          fi

          git config --local user.email "dry-bot@dry-rb.org"
          git config --local user.name "dry-bot"
          git add -A
          git commit -m "[devtools] config sync" || echo "nothing changed"
      - name: Push changes
        uses: ad-m/github-push-action@master
        with:
          github_token: ${{ secrets.GH_PAT }}

Version data entries

20 entries across 20 versions & 12 rubygems

Version Path
dry-auto_inject-0.7.0 .github/workflows/sync_configs.yml
dry-monads-1.3.4 .github/workflows/sync_configs.yml
dry-transformer-0.1.0 .github/workflows/sync_configs.yml
dry-web-web_pipe-0.2.0 .github/workflows/sync_configs.yml
dry-web-roda-0.13.1 .github/workflows/sync_configs.yml
dry-web-roda-0.13.0 .github/workflows/sync_configs.yml
dry-cli-0.5.0 .github/workflows/sync_configs.yml
dry-effects-0.1.3 .github/workflows/sync_configs.yml
dry-struct-1.2.0 .github/workflows/sync_configs.yml
dry-effects-0.1.2 .github/workflows/sync_configs.yml
dry-types-1.2.2 .github/workflows/sync_configs.yml
dry-monads-1.3.3 .github/workflows/sync_configs.yml
dry-cli-0.4.0 .github/workflows/sync_configs.yml
dry-effects-0.1.1 .github/workflows/sync_configs.yml
dry-monads-1.3.2 .github/workflows/sync_configs.yml
dry-equalizer-0.3.0 .github/workflows/sync_configs.yml
dry-types-1.2.1 .github/workflows/sync_configs.yml
dry-logic-1.0.5 .github/workflows/sync_configs.yml
dry-initializer-3.0.2 .github/workflows/sync_configs.yml
dry-logic-1.0.4 .github/workflows/sync_configs.yml