deps #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deps | |
permissions: | |
contents: read | |
on: | |
schedule: | |
- cron: "22 5 2 * *" | |
jobs: | |
upgrade: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1 | |
with: | |
go-version: 1.22.x | |
- name: Checkout code | |
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | |
with: | |
persist-credentials: false | |
- name: Upgrade Modules | |
run: go get -u ./... | |
- name: Tidy | |
run: go mod tidy | |
- name: Diff | |
run: git diff | |
- name: Create Pull Request | |
uses: ./.github/actions/create-pull-request | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
app_private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
branch: auto-upgrade-deps | |
title: "all: upgrade direct dependencies" | |
body: "Auto-generated upgrade of module dependencies." |