Sha256: 68e3975c5244eb8da0d824947e3274e4f2f4448d231ec755c004c7f2634f8b93

Contents?: true

Size: 855 Bytes

Versions: 1

Compression:

Stored size: 855 Bytes

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

          rsync -av tmp/devtools/shared/ .

          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

1 entries across 1 versions & 1 rubygems

Version Path
dry-configurable-0.9.0 .github/workflows/sync_configs.yml