Skip to content

Commit

Permalink
ci: add branch input param
Browse files Browse the repository at this point in the history
  • Loading branch information
sumire88 committed Aug 25, 2024
1 parent bf2dfa3 commit 147357f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- dae
- daed
required: true
branch:
type: string
description: branch to sync with
default: unstable

jobs:
sync-upstream:
Expand All @@ -26,6 +30,7 @@ jobs:
- uses: actions/checkout@main
with:
token: ${{ steps.generate_token.outputs.token }}
ref: ${{ inputs.branch }}

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
Expand Down

0 comments on commit 147357f

Please sign in to comment.