Skip to content

Update Dependencies #314

Update Dependencies

Update Dependencies #314

Workflow file for this run

name: Update Dependencies
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 15 * * 5'
jobs:
lockfile:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v19
with:
token: ${{ secrets.PAT }}
brave-browser:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix-env -i nix-prefetch -f '<nixpkgs>'
- uses: actions/setup-go@v4
- run: go run scripts/brave-updater/main.go
- name: Create PR
uses: peter-evans/create-pull-request@v5
with:
branch: bump-brave-version
delete-branch: true
title: Bump Brave browser version
token: ${{ secrets.PAT }}