From 37a2fb1aa0e0880481aa86eda7994a6db0cdc982 Mon Sep 17 00:00:00 2001 From: Pavel Mikula Date: Wed, 11 Nov 2026 16:49:55 +0100 Subject: [PATCH] Add Jira Automation cleanup --- .github/workflows/CleanupIssues.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/CleanupIssues.yml diff --git a/.github/workflows/CleanupIssues.yml b/.github/workflows/CleanupIssues.yml new file mode 100644 index 00000000000..6540873ca62 --- /dev/null +++ b/.github/workflows/CleanupIssues.yml @@ -0,0 +1,27 @@ +name: Cleanup Issues + +on: + schedule: + - cron: "18 4 * * *" + workflow_dispatch: + +jobs: + CleanupIssues_job: + name: Cleanup Issues + runs-on: sonar-xs + permissions: + id-token: write + pull-requests: read + steps: + - id: secrets + uses: SonarSource/vault-action-wrapper@v3 + with: + secrets: | + development/kv/data/jira user | JIRA_USER; + development/kv/data/jira token | JIRA_TOKEN; + - uses: sonarsource/gh-action-lt-backlog/CleanupIssues@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + jira-user: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_USER }} + jira-token: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_TOKEN }} + jira-project: SONARJAVA