aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-11-08 07:56:58 -0500
committerXe Iaso <me@xeiaso.net>2023-11-08 07:56:58 -0500
commit07add7886efbc4c07fcedc952f3b7a62102f2d08 (patch)
treef5c1d1bdd006a04f2fa8d888808fe42de1140ae5 /.github
parent6124bce48661d88ed6cca6a35a7041cc60d0ce36 (diff)
downloadx-07add7886efbc4c07fcedc952f3b7a62102f2d08.tar.xz
x-07add7886efbc4c07fcedc952f3b7a62102f2d08.zip
fix oops
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dependabot.yml30
1 files changed, 30 insertions, 0 deletions
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