[RBAC Plugin] Show alert when user is not authorised to create roles #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
add-to-project: | |
# https://github.com/janus-idp/.github/blob/main/.github/workflows/add-to-project.yaml | |
uses: janus-idp/.github/.github/workflows/add-to-project.yaml@main | |
with: | |
project_id: 2 | |
secrets: inherit | |
add-jira-label: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- run: | | |
gh issue --repo ${{github.repository}} edit ${{github.event.issue.number}} --add-label "jira" | |
env: | |
GH_TOKEN: ${{ github.token }} |