Skip to content

Update ADRs

Update ADRs #11980

Workflow file for this run

name: Update ADRs
on:
workflow_dispatch:
schedule:
- cron: 0 */3 * * *
jobs:
create-adr-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: "~1.32"
# sync from shopware/shopware
- run: ./.github/scripts/update-adrs.sh
# run gitbook -> vitepress migration script
- run: ./.github/scripts/migrate.sh ./resources/references/adr/
# migrate links (.md -> .html)
- name: Migrate links
uses: addnab/docker-run-action@v3
with:
image: php:8.0
options: -v ${{ github.workspace }}:/www --name docs-php
run: cd /www && find ./resources/references/adr/ -name '*.md' -exec php ./.github/scripts/migrate.php {} +
- run: rm semicolon_delimited_script || echo "semicolon_delimited_script does not exist anymore"
- uses: peter-evans/create-pull-request@v4
with:
add-paths: |
resources/references/adr/*.md
assets/adr/
index.md
author: shopwareBot <[email protected]>
committer: shopwareBot <[email protected]>
assignees: Isengo1989
branch: adr-reference-update
delete-branch: true
title: 'Update Architecture Decision Records'
body: 'Mirrored from: [shopware/shopware](https://github.com/shopware/shopware/tree/trunk)'
create-code-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
- uses: denoland/setup-deno@v1
with:
deno-version: "~1.32"
# sync from shopware/shopware
- run: ./.github/scripts/update-code-guidelines.sh
# run gitbook -> vitepress migration script
- run: ./.github/scripts/migrate.sh ./resources/guidelines/code/core/
# migrate links (.md -> .html)
- name: Migrate links
uses: addnab/docker-run-action@v3
with:
image: php:8.0
options: -v ${{ github.workspace }}:/www --name docs-php
run: cd /www && find ./resources/guidelines/code/core/ -name '*.md' -exec php ./.github/scripts/migrate.php {} +
- uses: peter-evans/create-pull-request@v4
with:
add-paths: |
resources/guidelines/code/core/*.md
index.md
author: shopwareBot <[email protected]>
committer: shopwareBot <[email protected]>
assignees: Isengo1989
branch: code-guidelines-update
delete-branch: true
title: 'Update code guidelines from platform'
body: 'Mirrored from: [shopware/shopware](https://github.com/shopware/shopware/tree/trunk)'