de503bbb2b
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.
25 lines
594 B
YAML
25 lines
594 B
YAML
---
|
|
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 |