From 07add7886efbc4c07fcedc952f3b7a62102f2d08 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Wed, 8 Nov 2023 07:56:58 -0500 Subject: fix oops Signed-off-by: Xe Iaso --- .github/workflows/dependabot.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..c668126 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,30 @@ +name: Fix dependabot imports + +on: + pull_request: + types: [opened, synchronize] + +permissions: + pull-requests: write + contents: write + +jobs: + run-custom-command: + if: ${{ github.actor == 'dependabot[bot]' }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + submodules: true + # TODO: Add any needed steps to be able to run your command + # (e.g. actions/setup-node@2) + - uses: actions/setup-go@v4 + with: + check-latest: true + - name: Bump Go mod + run: ./bumperate.sh + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Bump Go mod SRI -- cgit v1.2.3