OpenSlides/.github/workflows/announce-permission-updates.yml
Sean de503bbb2b 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.
2021-08-17 12:45:30 +02:00

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