diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/dependabot.yml | 30 |
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 |
