[SC]: Annotazione di rettifica per errore materiale - USC dell'operazione di firma diverso da chi ha firmato l'attestazione #327
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
name: Issue labeler | |
on: | |
issues: | |
types: [ opened, edited ] | |
permissions: | |
contents: read | |
jobs: | |
label-component: | |
runs-on: ubuntu-latest | |
permissions: | |
# required for all workflows | |
issues: write | |
# only required for workflows in private repositories | |
actions: read | |
contents: read | |
strategy: | |
matrix: | |
template: [ 01-issue-sc.yml, 02-issue-webapp.yml ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Parse issue form | |
uses: stefanbuck/github-issue-parser@v3 | |
id: issue-parser | |
with: | |
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }} | |
- name: Set labels based on severity field | |
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2 | |
with: | |
issue-form: ${{ steps.issue-parser.outputs.jsonString }} | |
template: ${{ matrix.template }} | |
token: ${{ secrets.GITHUB_TOKEN }} |