Skip to content

Update

Update #22

Workflow file for this run

---
name: Update
on:
schedule:
- cron: "0 0 * * 0"
concurrency:
group: update
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main
- name: Install Nix
uses: cachix/install-nix-action@v26
- name: Setup Cachix
uses: cachix/cachix-action@v14
with:
name: devenv
- name: Install devenv
run: nix-env -if https://install.devenv.sh/latest
- name: Update versions
run: devenv shell update-versions
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
author: GitHub <[email protected]>
commit-message: Update Terraform versions
title: "feat: Update Terraform versions"
body: |
Automatically created pull-request to update Terraform versions.
This is the result of running:
```
env GITHUB_TOKEN=<token> nix develop --impure --command python3 update-versions.py
```
delete-branch: true
reviewers: |
oscar-izval
sestrella
token: ${{ secrets.BOT_TOKEN }}