We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b82abe5 commit aaa53bbCopy full SHA for aaa53bb
.github/workflows/translate.yml
@@ -5,6 +5,12 @@ on:
5
branches: ["main", "master"]
6
paths:
7
- "localizations/en_US.json"
8
+ workflow_dispatch:
9
+ inputs:
10
+ commit_sha:
11
+ description: "Commit SHA to checkout (optional, defaults to latest)"
12
+ required: false
13
+ type: string
14
15
jobs:
16
translate:
@@ -17,6 +23,7 @@ jobs:
17
23
- name: Checkout repository
18
24
uses: actions/checkout@v4
19
25
with:
26
+ ref: ${{ github.event.inputs.commit_sha || github.sha }}
20
27
fetch-depth: 0
21
28
- name: Set up Python
22
29
uses: actions/setup-python@v5
0 commit comments