Skip to content

Commit ccefd7e

Browse files
authored
Merge pull request #111 from vyos/T8487
T8487: Fix typos and errors for github repo
2 parents 89ba263 + 7451aa8 commit ccefd7e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ the box, please use [x]
3030
<!---
3131
Please describe in detail how you tested your changes. Include details of your testing
3232
environment, and the tests you ran. When pasting configs, logs, shell output, backtraces,
33-
and other large chunks of text, surround this text with triple backtics
33+
and other large chunks of text, surround this text with triple backticks
3434
```
3535
like this
3636
```

.github/workflows/pr-mirror-repo-sync.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
if [[ -z "$previous_merged_source_pr" ]]; then
216216
echo "No previous merged PR found for branch ${SYNC_BRANCH}"
217217
else
218-
echo "Previous merged source PR retrived ${previous_merged_source_pr}"
218+
echo "Previous merged source PR retrieved ${previous_merged_source_pr}"
219219
pr_labels=$(gh pr view $previous_merged_source_pr --repo ${SOURCE_REPO} --json labels --jq '.labels | map(.name)')
220220
if [[ $pr_labels == *"${MIRROR_COMPLETED_LABEL}"* ]]; then
221221
echo "Found previous merged PR (#${previous_merged_source_pr}) mirrored"
@@ -231,9 +231,9 @@ jobs:
231231
run: |
232232
cd $checkout_folder
233233
pr_info=$(gh pr view $PR_NUMBER --repo $SOURCE_REPO --json commits,mergeCommit,body,title,labels,headRefOid)
234-
echo "PR info retrived ${pr_info}"
234+
echo "PR info retrieved ${pr_info}"
235235
last_commit=$(echo $pr_info | jq -r '.headRefOid')
236-
echo "Last commit retrived from pr view ${last_commit}"
236+
echo "Last commit retrieved from pr view ${last_commit}"
237237
merge_commit=$(echo $pr_info | jq -r '.mergeCommit.oid')
238238
pr_body=$(echo "$pr_info" | jq -j '.body') # preserve indentation
239239
pr_title=$(echo $pr_info | jq -r '.title')
@@ -266,7 +266,7 @@ jobs:
266266
echo ""
267267
printf '%s\n' "$pr_body" # exact preservation
268268
} > /tmp/pr_body.txt
269-
echo "Last commit retrived ${last_commit}, Merge commit retrived ${merge_commit}, PR labels retrived ${pr_labels}"
269+
echo "Last commit retrieved ${last_commit}, Merge commit retrieved ${merge_commit}, PR labels retrieved ${pr_labels}"
270270
271271
- name: Create mirror PR head branch (temp feature branch)
272272
if: env.mirror_required == 'true'
@@ -291,7 +291,7 @@ jobs:
291291
--base $SYNC_BRANCH \
292292
--title "${title}" \
293293
--body-file /tmp/pr_body.txt)
294-
echo "Created PR url retrived ${pr_url}"
294+
echo "Created PR url retrieved ${pr_url}"
295295
pr_number=$(basename $pr_url)
296296
echo "mirror_pr_number=${pr_number}" >> $GITHUB_ENV
297297

0 commit comments

Comments
 (0)