diff options
| author | John MacFarlane <[email protected]> | 2023-12-26 22:46:56 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-12-26 22:46:56 -0800 |
| commit | b9b8343645f0ba454de83268ffc1d67b3e8aa034 (patch) | |
| tree | 15271a29dd4a155e34b619092fd208383b5f526a /.github/workflows/commit-validation.yml | |
| parent | b1a1f04168132159a975a687f0badbffc64559e9 (diff) | |
Fix commit-validation CI.
Hopefully. See #9286.
Diffstat (limited to '.github/workflows/commit-validation.yml')
| -rw-r--r-- | .github/workflows/commit-validation.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/commit-validation.yml b/.github/workflows/commit-validation.yml index 547b374fa..45eb55214 100644 --- a/.github/workflows/commit-validation.yml +++ b/.github/workflows/commit-validation.yml @@ -1,5 +1,5 @@ name: commit-validation -on: [ push, pull_request ] +on: [ pull_request ] permissions: contents: read @@ -16,7 +16,7 @@ jobs: result-encoding: json script: | var longlines = 0; - const commits = ${{ toJSON(github.event.commits) }} + const commits = ${{ toJSON(github.event.pull_request.commits) }} for (const commit of commits) { for (const line of commit.message.split('\n')) { if (line.length > 78) { |
