Sha256: 79d076b3a61a5b98db200a37d40d4961f0568dfb97a9ecec5423b5a296a02fe7

Contents?: true

Size: 802 Bytes

Versions: 4

Compression:

Stored size: 802 Bytes

Contents

name: auto-update

on:
  schedule:
    - cron:  '0 0 1 * *'
  workflow_dispatch:

jobs:
  update-jplocalgov-data:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
      - name: update jplocalgov data
        run: bundle exec rake jplocalgov:data:update_all
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v3
        with:
          base: main
          branch: update_jplocalgov_data
          branch-suffix: timestamp
          delete-branch: true
          title: bundle exec rake jplocalgov:data:update_all
          commit-message: bundle exec rake jplocalgov:data:update_all

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jp_local_gov-0.3.0 .github/workflows/auto-update.yml
jp_local_gov-0.2.1 .github/workflows/auto-update.yml
jp_local_gov-0.2.0 .github/workflows/auto-update.yml
jp_local_gov-0.1.0 .github/workflows/auto-update.yml