Prevent PR jobs from running in the main branch #276

Merged
bustikiller merged 2 commits from avoid-checks-main into main 2025-06-11 17:20:39 +00:00
Showing only changes of commit f3088470da - Show all commits

View File

@ -23,7 +23,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }} # Checkout the actual branch, not the result if merged into the base
- uses: ruby/setup-ruby@v1.220.0
- uses: ruby/setup-ruby@v1
- run: bundle install
- &postgres_wait
name: Wait until Postgres is ready to accept connections
@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ruby/setup-ruby@v1.220.0
- uses: ruby/setup-ruby@v1
- run: bundle install
- run: bundle exec rubocop --force-exclusion --parallel
check-licenses:
@ -81,7 +81,7 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ruby/setup-ruby@v1.220.0
- uses: ruby/setup-ruby@v1
- name: Install project dependencies
run: bundle install --jobs `getconf _NPROCESSORS_ONLN`
- name: Run license finder