S13: CI-CD review gate and run-review.sh (no ns1 auto-deploy)
Some checks are pending
review / inventory (push) Waiting to run
Some checks are pending
review / inventory (push) Waiting to run
This commit is contained in:
parent
257405ca61
commit
c71dce2187
6 changed files with 84 additions and 10 deletions
15
.forgejo/workflows/review.yml
Normal file
15
.forgejo/workflows/review.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
name: review
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
inventory:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: no-deploy
|
||||
run: |
|
||||
test -f cicd/GATE.md
|
||||
grep -q "no auto-deploy" cicd/GATE.md || grep -q "forbidden" cicd/GATE.md
|
||||
echo "docs and gate only; this workflow does not SSH to ns1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue