diff --git a/.github/ISSUE_TEMPLATE/notify-dependency-update-template.md b/.github/ISSUE_TEMPLATE/notify-dependency-update-template.md index 23ad734416..b912916a9f 100644 --- a/.github/ISSUE_TEMPLATE/notify-dependency-update-template.md +++ b/.github/ISSUE_TEMPLATE/notify-dependency-update-template.md @@ -1,11 +1,3 @@ ---- -name: Notify Dependency Update Template -about: Regular dependency updates -title: Regular Update for Dependencies -labels: Notify, QA, Tech Debt -assignees: '' ---- - ## User Story - Business Need We wish to keep dependencies up to date so that we do not need such massive overhauls of our system. This is a recurring task to update all dependencies we are able to update. Any conflicts shall get a dedicated ticket. This task should be a day of work at most because it only updates non-breaking changes. diff --git a/.github/workflows/dependency-ticket-creation.yml b/.github/workflows/dependency-ticket-creation.yml new file mode 100644 index 0000000000..7fdcac0acb --- /dev/null +++ b/.github/workflows/dependency-ticket-creation.yml @@ -0,0 +1,28 @@ +name: Biweekly Dependency Ticket Creation + +# on: +# schedule: +# - cron: "0 9 */14 * 1" # Runs every two weeks on Monday at 09:00 UTC + +on: + push: + branches: + - "1381-dependency-ticket-automation" + +jobs: + create_issue: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Create GitHub Issue + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh issue create \ + --body-file "./.github/ISSUE_TEMPLATE/notify-dependency-update-template.md" \ + --label "Notify" \ + --label "QA" \ + --label "Tech Debt" \ + --title "Regular Update for Dependencies" \ No newline at end of file