diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-12-19 08:57:04 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-12-19 08:58:54 -0800 |
| commit | b59565bf7460b1a487e8e4d9b92834e3fdeed418 (patch) | |
| tree | 4d3c0d3d31f885dd0ab671a4b3029d7ace449065 /templates/go/.github/workflows/update.yaml | |
| parent | chore: update flake (diff) | |
| download | infra-b59565bf7460b1a487e8e4d9b92834e3fdeed418.tar.gz | |
add goreleaser to go template
Diffstat (limited to 'templates/go/.github/workflows/update.yaml')
| -rw-r--r-- | templates/go/.github/workflows/update.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/go/.github/workflows/update.yaml b/templates/go/.github/workflows/update.yaml new file mode 100644 index 0000000..2723a6f --- /dev/null +++ b/templates/go/.github/workflows/update.yaml @@ -0,0 +1,28 @@ +name: 'Update flake.lock' +on: + workflow_dispatch: + schedule: + - cron: '30 5 * * 0' +# you need to grant permissions to create PR: +# https://github.com/DeterminateSystems/update-flake-lock/issues/75 +jobs: + update-flake-lock: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: cachix/install-nix-action@v23 + with: + extra_nix_config: | + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + - name: Update flake.lock + id: update-flake-lock + uses: DeterminateSystems/update-flake-lock@v20 + with: + pr-title: "Update flake.lock" + commit-msg: "chore: update flake" + pr-assignees: fcuny + pr-labels: | + dependencies + automated |
