mirror of
https://github.com/Dasharo/coreboot.git
synced 2026-06-13 10:16:48 -07:00
.github/workflows/check-upstream-status.yml: add
Change-Id: I74d9fa455260df8213afb8a92b587095e948c56b Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com> Upstream-Status: Inappropriate [Dasharo downstream]
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name: check-upstream-status
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check-upstream-status:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
# Checkout pull request HEAD commit instead of merge commit
|
||||
# See: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
with:
|
||||
extra_args: check-upstream-status --hook-stage pre-push
|
||||
@@ -46,7 +46,7 @@ repos:
|
||||
types: [file]
|
||||
|
||||
- repo: https://github.com/3mdeb/hooks
|
||||
rev: v0.1.6
|
||||
rev: v0.1.7
|
||||
# Can be triggered manually with command:
|
||||
# pre-commit run --hook-stage pre-push check-upstream-status
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user