name: actions
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - "*"
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: ☑️ Checkout code
        uses: actions/checkout@v2
        with:
          fetch-depth: 1

      - name: 💎 Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true

      - name: 🔧 Build & Test
        run: |
          bundle exec rake assets:precompile
          bundle exec rake test 

      - name: ✅ Check YAML format
        run: |
          bundle exec rake yasslab:test

      - name: 🔔 Notify results
        uses: yasslab/idobata_notify@v0.3
        if: always()
        with:
          idobata_hook_url: ${{ secrets.IDOBATA_GITHUB_ACTIONS }}

name: actions
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - "*"
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: ☑️ Checkout code
        uses: actions/checkout@v2
        with:
          fetch-depth: 2

      - name: 💎 Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true

      - name: 🔧 Build & Test
        run: |
          bundle exec rake assets:precompile
          bundle exec rake test 

      - name: ✅ Check YAML format
        run: |
          bundle exec rake yasslab:test

      - name: 🔔 Notify results
        uses: yasslab/idobata_notify@v0.3
        if: always()
        with:
          idobata_hook_url: ${{ secrets.IDOBATA_GITHUB_ACTIONS }}

Set 'fetch-depth: 2' to fetch 1st log in Git
Set 'fetch-depth: 2' to fetch 1st log in Git
