Skip to content

Commit

Permalink
fix: auto-commit only from syntaxes/
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-semenov committed Apr 15, 2024
1 parent 4df0e32 commit 6e4bc1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ jobs:
run: vagrant --version

- name: Run vagrant up & provision
run: VER=23.11 vagrant up --provision
run: vagrant up --provision
env:
VER: 23.11

- name: Auto-commit changes
id: auto-commit-action
uses: stefanzweifel/[email protected]
with:
commit_message: Automated Change
commit_message: automated change
branch: main
commit_options: '--no-verify --signoff'
file_pattern: 'syntaxes/*'
commit_user_name: Publishing Bot
commit_user_email: [email protected]

Expand Down
4 changes: 3 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ Vagrant.configure("2") do |config|
cd /vagrant/
echo "statix check &&\
nix flake check --impure &&\
cp -r \$(nix build --impure --no-link --print-out-paths) ./syntaxes/" |\
export datapath=\$(nix build --impure --no-link --print-out-paths) &&\
ls -fl \$datapath &&\
cp -r \$datapath ./syntaxes/" |\
nix-shell --run bash
SHELL
end

0 comments on commit 6e4bc1a

Please sign in to comment.