diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..84f9bc7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "weekly" + target-branch: "develop" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e4ce448 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: Dependabot issue for PRs +on: + pull_request: + types: [opened, reopened] + +permissions: + contents: write + issues: write + repository-projects: write + pull-requests: write + +jobs: + issue: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + steps: + - name: Checkout Code + uses: actions/checkout@v4 + - name: Manage Dependabot Issues + uses: Siyavula/github_actions/actions/dependabot_issue_manager@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }}