Skip to content

revertme: (AppMap) Enable install-action to commit to the branch #53

revertme: (AppMap) Enable install-action to commit to the branch

revertme: (AppMap) Enable install-action to commit to the branch #53

Workflow file for this run

The updated workflow is:
```yaml

Check failure on line 3 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
name: Main
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
run: bundle exec rails test
```
This will checkout the specific ref from the pull request.