Skip to content

Commit

Permalink
ci: omit inputs to allow automated runs
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Dec 9, 2024
1 parent 35fcbe6 commit db10fa9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pin-latest-hyprland.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # weekly on Sunday 00:00
inputs:
hyprgrass_pin_target:
description: "Ref of the hyprgrass commit to pin"
required: false
default: "main"
jobs:
tests:
runs-on: ubuntu-latest
Expand All @@ -24,9 +19,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eu
git fetch --depth=1 --tags origin '${{inputs.hyprgrass_pin_target}}'
git fetch --depth=1 --tags origin main
./scripts/ci/pin-latest-hyprland '${{inputs.hyprgrass_pin_target}}'
./scripts/ci/pin-latest-hyprland main
if git diff --quiet hyprpm.toml; then # no changes
exit 0
fi
Expand Down

0 comments on commit db10fa9

Please sign in to comment.