[ci] Run CI in merge queue and not master

This change updates the GitHub actions workflows to run on PR updates
and within the GitHub merge queue, but not on the push to the master
branch.

Because we use merge queues, the re-run for the master branch would be
redundant.

Signed-off-by: James Wainwright <james.wainwright@lowrisc.org>
This commit is contained in:
James Wainwright 2023-12-15 11:45:56 +00:00 committed by Gary Guo
parent 1c5da195b6
commit 38da151a25
2 changed files with 8 additions and 2 deletions

View file

@ -8,10 +8,11 @@ name: Ibex CI
on:
push:
branches:
- "*"
tags:
- "*"
merge_group:
types:
- checks_requested
pull_request:
branches:
- "*"

View file

@ -10,7 +10,12 @@ name: pr-lint
# Triggers when there is any activity on a pull request, e.g. opened, updated.
on:
merge_group:
types:
- checks_requested
pull_request:
branches:
- "*"
jobs:
verible-lint: