diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1d662ce --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + commit-message: + prefix: "actions" diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 2b474ba..df0e437 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -20,20 +20,20 @@ jobs: package: ["nixos", "home-manager"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v22 + - name: Get short revision + id: rev + run: + echo "rev=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" + - name: Build doc run: nix build .#${{ matrix.package }}-doc - name: Update doc run: cat result > docs/${{ matrix.package }}-options.md - - name: Get short revision - id: rev - run: - echo "rev=$(git rev parse --short HEAD)" >> "$GITHUB_OUTPUT" - - name: Commit changes uses: EndBug/add-and-commit@v9 with: