mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
allow to run containers without access to the docker socket
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
9a0e3eccde
commit
b003a8b49b
8 changed files with 575 additions and 10 deletions
18
.github/workflows/json-validator.yml
vendored
Normal file
18
.github/workflows/json-validator.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Json Validator
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
psalm:
|
||||
name: Json Validator
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Validate Json
|
||||
run: |
|
||||
sudo apt install python3-pip --no-install-recommends
|
||||
sudo pip3 install json-spec
|
||||
json validate --schema-file=php/containers-schema.json --document-file=php/containers.json
|
||||
33
.github/workflows/update-yaml.yml
vendored
Normal file
33
.github/workflows/update-yaml.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Update Yaml files
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
- '!main'
|
||||
|
||||
jobs:
|
||||
psalm:
|
||||
name: update yaml files
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: update yaml files
|
||||
run: |
|
||||
sudo bash manual-install/update-yaml.sh
|
||||
- name: Commit files
|
||||
if: ${{ success() }}
|
||||
continue-on-error: true
|
||||
run: |
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git add .
|
||||
git commit -m "Update Yaml files" -a
|
||||
- name: Push changes
|
||||
if: ${{ success() }}
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue