Merge pull request #3937 from continuedev/nate/pr-checks

allow merge even when pr_checks is skipped
This commit is contained in:
Nate Sesti 2025-02-04 12:56:59 -08:00 • committed by GitHub
commit 3ce74b8248
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
.github/workflows/pr_checks_skip.yaml vendored Normal file
View file

@ -0,0 +1,28 @@
# When none of the paths are matched for the pr_checks.yaml workflow
# we still need the require-all-checks-to-pass job to pass
name: PR checks skip
on:
pull_request:
branches:
- main
paths:
- docs/**
push:
branches:
- main
paths:
- docs/**
jobs:
require-all-checks-to-pass:
if: always()
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
allowed-failures:
allowed-skips:
jobs: []