azurerm_backup_policy_vm: duration_type in archived_restore_point is ignored/nonexistant, always shown as Months in Azure Portal #46800
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
| --- | |
| name: Issue Comment Created Triage | |
| # Label housekeeping when a comment is created: clears stale, clears | |
| # waiting-response (always on issues; on PRs only when the author replies), and | |
| # re-adds waiting-response when a maintainer ends a PR comment with /wr. | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| remove-stale: | |
| uses: ./.github/workflows/issue-remove-label.yaml | |
| with: | |
| label-name: "stale" | |
| remove-waiting-response-from-issue: | |
| uses: ./.github/workflows/issue-remove-label.yaml | |
| if: ${{ !github.event.issue.pull_request }} | |
| with: | |
| label-name: "waiting-response" | |
| remove-waiting-response-from-pr: | |
| uses: ./.github/workflows/issue-remove-label.yaml | |
| if: (github.event.issue.pull_request && github.actor == github.event.issue.user.login) | |
| with: | |
| label-name: "waiting-response" | |
| pull_request_comment: | |
| runs-on: ubuntu-latest | |
| if: github.event.issue.pull_request && endsWith(github.event.comment.body, '/wr') | |
| steps: | |
| - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["waiting-response"] | |
| }) |