mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-11-14 07:52:44 +00:00
ci: TEMPORARY gate proof workflows (removed in next commit)
This commit is contained in:
1 parent
52709929f3
commit
cad01e4f81
3 files changed
+45
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: tmp-gate-proof
|
||||
on:
|
||||
push:
|
||||
branches: [ "test/ci-test-suite" ]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
tests-red:
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: ./.github/workflows/tmp-proof-fail.yml
|
||||
publish-red:
|
||||
needs: tests-red
|
||||
if: ${{ !cancelled() && (github.event_name == 'pull_request' || needs.tests-red.result == 'success') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo PUBLISH-RED-RAN
|
||||
tests-green:
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: ./.github/workflows/tmp-proof-ok.yml
|
||||
publish-green:
|
||||
needs: tests-green
|
||||
if: ${{ !cancelled() && (github.event_name == 'pull_request' || needs.tests-green.result == 'success') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo PUBLISH-GREEN-RAN
|
||||
@@ -0,0 +1,10 @@
|
||||
name: tmp-proof-fail
|
||||
on:
|
||||
workflow_call:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
t:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: exit 1
|
||||
@@ -0,0 +1,10 @@
|
||||
name: tmp-proof-ok
|
||||
on:
|
||||
workflow_call:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
t:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: true
|
||||
Reference in new issue
Block a user