Skip to content

Commit

Permalink
Add chart version to bug report template
Browse files Browse the repository at this point in the history
[skip ci]

Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
  • Loading branch information
VietND96 committed Dec 14, 2023
1 parent bc98d1c commit d4caa16
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Expand Up @@ -54,8 +54,16 @@ body:
- type: input
id: version
attributes:
label: Docker Selenium version (tag or chart version)
label: Docker Selenium version (image tag)
description: What version of Docker Selenium are you using?
placeholder: 4.16.1-20231212? Please use the full tag, avoid "latest"
validations:
required: true
- type: input
id: chart-version
attributes:
label: Selenium Grid chart version (chart version)
description: What version of Selenium Grid chart are you using?
placeholder: 0.26.2?
validations:
required: false
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Expand Up @@ -80,7 +80,7 @@ jobs:
git config --local user.name "Selenium CI Bot"
git commit -m "Update tag in docs and files" -a
- name: Push changes
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # master
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
branch: trunk
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/update-chart-changelog.yaml
@@ -1,13 +1,15 @@
name: Update Chart CHANGELOG

on:
page_build:
release:
types: [published]
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
if: ${{ contains(github.event.release.tag_name, 'selenium-grid') || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -25,7 +27,7 @@ jobs:
git commit -m "Update chart CHANGELOG [skip ci]" -a
- name: Push changes
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # master
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
branch: trunk
1 change: 1 addition & 0 deletions update_tag_in_docs_and_files.sh
Expand Up @@ -42,6 +42,7 @@ if [ "$latest_chart_app_version" == $LATEST_TAG ] && [ "$latest_chart_app_versio
echo -e "\033[0;32m NEXT_CHART_VERSION -> ${next_chart_version}\033[0m"
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
find . \( -type d -name .git -prune \) -o -type f -name 'Chart.yaml' -print0 | xargs -0 sed -i "s/${latest_chart_version}/${next_chart_version}/g"
find . \( -type d -name .git -prune \) -o -type f -name 'bug_report.yaml' -print0 | xargs -0 sed -i "s/${latest_chart_version}/${next_chart_version}/g"
fi

git diff | cat
Expand Down

0 comments on commit d4caa16

Please sign in to comment.