Kurdish dialects naming and its codes #42
This file contains hidden or 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
| # Copyright © Michal Čihař <michal@weblate.org> | |
| # | |
| # SPDX-License-Identifier: CC0-1.0 | |
| # This file is maintained in https://github.com/WeblateOrg/meta/ | |
| name: Issue closed | |
| on: | |
| issues: | |
| types: [closed] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.issue.id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| issueClosed: | |
| permissions: | |
| issues: write # for gh issue comment | |
| runs-on: ubuntu-slim | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Add closed question comment | |
| if: | | |
| github.actor != 'renovate[bot]' && | |
| github.event.issue.state_reason == 'completed' && | |
| (( | |
| contains(github.event.issue.labels.*.name, 'question') && | |
| ! contains(github.event.issue.labels.*.name, 'duplicate') && | |
| ! contains(github.event.issue.labels.*.name, 'wontfix') | |
| ) || join(github.event.issue.labels.*.name) == '') | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ISSUE_NUMBER: ${{ github.event.issue.number }} | |
| run: gh issue comment "$ISSUE_NUMBER" --body-file .github/comments/issue-resolved.md | |
| - name: Add closed issue comment | |
| if: | | |
| github.actor != 'renovate[bot]' && | |
| github.event.issue.state_reason == 'completed' && | |
| ! contains(github.event.issue.labels.*.name, 'invalid') && | |
| ! contains(github.event.issue.labels.*.name, 'question') && | |
| ! contains(github.event.issue.labels.*.name, 'wontfix') && | |
| ! contains(github.event.issue.labels.*.name, 'duplicate') && | |
| ! contains(github.event.issue.labels.*.name, 'undecided') && | |
| ! contains(github.event.issue.labels.*.name, 'needinfo') && | |
| join(github.event.issue.labels.*.name) != '' | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ISSUE_NUMBER: ${{ github.event.issue.number }} | |
| run: gh issue comment "$ISSUE_NUMBER" --body-file .github/comments/issue-fixed.md |