Monitor and announces changes to models and perms

Monitors changes to docs/models.yml and docs/perms.yml.
If changes were made and merged github actions will create an issue
and assign the maintainers of the subprojects to ackknowledge the
changes.
This commit is contained in:
Sean 2021-08-17 12:45:30 +02:00
parent 2a5b4a3126
commit de503bbb2b
4 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,29 @@
---
title: The models.yml got updated
assignees: tsiegleauq, ostcar, normanjaeckel, jsangmeister, r-peschke, GabrielInTheWorld
labels: documentation, OpenSlides4, meta
---
# Changes to `models.yml` have just been added to OpenSlides
Please acknowledge the recent changes to `models.yml` and update your projects accordingly.
### Current `models.yml`
[docs/models.yml]({{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/blob/master/docs/models.yml)
### Corresponding Commit:
[{{ env.GITHUB_SHA }}]({{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/commit/{{ env.GITHUB_SHA }})
## Affected Projects
### Backend
https://github.com/OpenSlides/openslides-backend
### Client
https://github.com/OpenSlides/openslides-client
### Autoupdate
https://github.com/OpenSlides/openslides-autoupdate-service
### Manage
https://github.com/OpenSlides/openslides-manage-service

View File

@ -0,0 +1,29 @@
---
title: The permission.yml got updated
assignees: tsiegleauq, ostcar, normanjaeckel, jsangmeister, r-peschke, GabrielInTheWorld
labels: documentation, OpenSlides4, meta
---
# Changes to `permission.yml` have just been added to OpenSlides
Please acknowledge the recent changes to `permission.yml` and update your projects accordingly.
### Current `permission.yml`
[docs/permission.yml]({{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/blob/master/docs/permission.yml)
### Corresponding Commit:
[{{ env.GITHUB_SHA }}]({{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/commit/{{ env.GITHUB_SHA }})
## Affected Projects
### Backend
https://github.com/OpenSlides/openslides-backend
### Client
https://github.com/OpenSlides/openslides-client
### Autoupdate
https://github.com/OpenSlides/openslides-autoupdate-service
### Manage
https://github.com/OpenSlides/openslides-manage-service

View File

@ -0,0 +1,25 @@
---
name: Announce model updates
on:
push:
branches:
- openslides4-dev
# - master
paths:
- 'docs/models.yml'
jobs:
announce-update:
name: 'Announce updates to models.yml'
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Create Issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/announcement_templates/updates-to-models.md

View File

@ -0,0 +1,25 @@
---
name: Announce permission updates
on:
push:
branches:
- openslides4-dev
# - master
paths:
- 'docs/permission.yml'
jobs:
announce-update:
name: 'Announce updates to permission.yml'
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Create Issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/announcement_templates/updates-to-permissions.md