ci: tweaks run triggers and checkout hash (#205)
This commit is contained in:
parent
b181639bb6
commit
06f9f56cd2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue