From fa59c4d8c2ebc174926d82546badf19c7f773aa1 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:31:30 +0200 Subject: [PATCH] Update --- .../workflows/update-hyprland-keybindings.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/update-hyprland-keybindings.yml diff --git a/.github/workflows/update-hyprland-keybindings.yml b/.github/workflows/update-hyprland-keybindings.yml new file mode 100644 index 0000000..2a0550e --- /dev/null +++ b/.github/workflows/update-hyprland-keybindings.yml @@ -0,0 +1,24 @@ +on: + push: + paths: + - 'home/system/hyprland/bindings.nix' +permissions: + contents: write +jobs: + update-readme: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./ + steps: + - name: Check out the repository to the runner + uses: actions/checkout@v4 + - name: Run a script + run: | + chmod +x ./docs/scripts/keybindings_to_markdown.sh + ./docs/scripts/keybindings_to_markdown.sh + git config user.name github-actions + git config user.email github-actions@github.com + git add . + git commit -m "Update KEYBINDINGS-HYPRLAND.md (auto)" + git push