ci: tweaks run triggers and checkout hash (#205)

This commit is contained in:
Adam Uhlíř 2024-12-05 11:10:29 +01:00 committed by GitHub
parent b181639bb6
commit 06f9f56cd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,10 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
@ -20,6 +24,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
# workaround for https://github.com/NomicFoundation/hardhat/issues/3877
- uses: actions/setup-node@v4
with: