nixos-config/.github/workflows/update-firefox-addons.yml
dependabot[bot] 7680996059
ci: bump DeterminateSystems/nix-installer-action from 10 to 13 (#27)
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 10 to 13.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v10...v13)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-21 11:40:08 +00:00

29 lines
866 B
YAML

name: "Update Firefox addons"
on:
schedule:
# Every week on Monday.
- cron: '0 0 * * 1'
push:
branches:
- master
paths:
- 'pkgs/firefox-addons'
jobs:
update-firefox-addons:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Set the date
id: metadata
run: echo "DATE=$(date +%F)" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v13
- env:
NIXPKGS_ALLOW_UNFREE: "1"
run: nix develop --impure -c mozilla-addons-to-nix pkgs/firefox-addons/firefox-addons.json pkgs/firefox-addons/default.nix
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "firefox-addons: update as of ${{ steps.metadata.outputs.DATE }}"
file_pattern: pkgs/firefox-addons/