old
 1name: Update Firefox Addons
 2
 3on:
 4  workflow_dispatch:
 5
 6  schedule:
 7    - cron: "0 4 * * 1"
 8
 9jobs:
10  update-firefox-addons:
11    runs-on: nixos-latest
12    steps:
13      - uses: actions/checkout@v4
14      - name: Update addons
15        run: |
16          nix run github:nix-community/NUR#legacyPackages.x86_64-linux.repos.rycee.mozilla-addons-to-nix -- \
17          ./home/linux/gui/firefox/addons/addons.json \
18          ./home/linux/gui/firefox/addons/default.nix
19      - uses: peter-evans/create-pull-request@v6
20        with:
21          token: ${{ secrets.GITHUB_TOKEN }}
22          commit-author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
23          commit-message: "chore(firefox): update addons"
24          branch: "chore/update-firefox-addons-{random}"
25          title: "chore(firefox): Update Firefox Addons"
26          body: |
27            Automated update of Firefox addons.
28            This PR was generated by the `update-firefox-addons` GitHub Actions workflow.
29          labels: "automated, dependencies"