flake-update(spicetify-nix): automated change #1070
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deadnix | |
on: [push, pull_request] | |
env: | |
committer_name: Antigen | |
committer_email: [email protected] | |
jobs: | |
deadnix-job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Debug logs | |
run: | | |
echo "github.head_ref: ${{ github.head_ref }}" | |
echo "github.ref: ${{ github.ref }}" | |
echo "github.repository: ${{ github.repository }}" | |
echo "github.sha: ${{ github.sha }}" | |
printf "$ git branch --show-current > " | |
git branch --show-current | |
- name: Install Nix | |
uses: cachix/install-nix-action@v22 | |
- name: Setup Cachix | |
uses: cachix/cachix-action@v12 | |
with: | |
name: deadnix | |
- name: Run deadnix and publish changes if any | |
uses: luisnquin/deadnix-action@main | |
with: | |
author: ${{env.committer_name}} <${{env.committer_email}}> | |
committer: ${{env.committer_name}} <${{env.committer_email}}> | |
commit_message: "deadnix: removed dead code" |