Skip to content

Commit

Permalink
Create jira.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder authored Sep 26, 2023
1 parent e7143a4 commit f69b27a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/jira.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Sync GitHub issues to Jira
on: [issues, issue_comment]

jobs:
sync-issues:
name: Sync issues to Jira
runs-on: ubuntu-latest
steps:
- uses: ikethecoder/sync-issues-github-jira@dev
with:
webhook-url: ${{ secrets.JIRA_WEBHOOK_URL }}

cleanup-runs:
name: Delete workflow runs
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 1
keep_minimum_runs: 5
delete_workflow_pattern: jira.yaml

0 comments on commit f69b27a

Please sign in to comment.