diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/update-inputs.yaml | 16 | ||||
| -rw-r--r-- | .github/workflows/update-nixpkgs.yaml | 16 |
2 files changed, 6 insertions, 26 deletions
diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml index 8dc66c4..59fed45 100644 --- a/.github/workflows/update-inputs.yaml +++ b/.github/workflows/update-inputs.yaml @@ -16,19 +16,9 @@ jobs: - name: checkout repo uses: actions/checkout@v3 - - name: install nix - uses: cachix/install-nix-action@v20 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - name: update all inputs - uses: DeterminateSystems/update-flake-lock@v19 + uses: ./.github/actions/flake-update with: commit-msg: "flake: update all inputs" - pr-title: "flake: update all inputs" - pr-body: | - Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. - - bors r+ - nix-options: "--accept-flake-config" - token: ${{ secrets.FLAKE_UPDATE }} + github-token: ${{ secrets.GITHUB_TOKEN }} + update-token: ${{ secrets.FLAKE_UPDATE }} diff --git a/.github/workflows/update-nixpkgs.yaml b/.github/workflows/update-nixpkgs.yaml index e78d41b..ccb04d3 100644 --- a/.github/workflows/update-nixpkgs.yaml +++ b/.github/workflows/update-nixpkgs.yaml @@ -16,20 +16,10 @@ jobs: - name: checkout repo uses: actions/checkout@v3 - - name: install nix - uses: cachix/install-nix-action@v20 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - name: update nixpkgs inputs - uses: DeterminateSystems/update-flake-lock@v19 + uses: ./.github/actions/flake-update with: inputs: nixpkgs nixpkgs-stable commit-msg: "flake: update nixpkgs inputs" - pr-title: "flake: update nixpkgs inputs" - pr-body: | - Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. - - bors r+ - nix-options: "--accept-flake-config" - token: ${{ secrets.FLAKE_UPDATE }} + github-token: ${{ secrets.GITHUB_TOKEN }} + update-token: ${{ secrets.FLAKE_UPDATE }} |
