/
githubmirror
/
icu
Обзор
Документация
Войти
/
githubmirror
/
icu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/brs-commit-checker.yml
71 строка
3 KB
dependabot[bot]
ICU-23247 Bump the github-actions group with 8 updates
04 авг 2026, 00:52
04 авг 2026, 00:52
6f8b1e8
Код
Авторство
О чём код?
name: BRS Commit Checker Report on: workflow_dispatch: inputs: fix_version: type: string required: true description: The ICU Jira "Fix Version" semver from_git_ref: type: string required: true description: The git ref start of comparison range. Prefix branches with `origin/`. end_git_ref: type: string required: true description: The git ref end of comparison range. Must be descendant of `from_git_ref`. Prefix branches with `origin/`. # Jira user name & API token is used for processing sensitive tickets comes from Github Secrets # stored in the repository permissions: contents: read jobs: commit-report: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-tags: true fetch-depth: 0 persist-credentials: false # workaround for bug in checkout action. this step should be redundant. # https://github.com/actions/checkout/issues/1471 # https://github.com/actions/checkout/issues/1781 # https://github.com/actions/checkout/issues/701#issuecomment-1133937950 - name: Fetch all tags run: | git fetch --tags origin - name: Fetch all branches run: | git fetch origin - name: Setup Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: '3.12.8' cache: 'pipenv' cache-dependency-path: | tools/commit-checker/Pipfile tools/commit-checker/Pipfile.lock - name: Install pipenv run: | sudo pip3 install pipenv - name: Generate report env: JIRA_USERNAME: ${{ secrets.COMMIT_CHECKER_JIRA_EMAIL }} JIRA_PASSWORD: ${{ secrets.COMMIT_CHECKER_JIRA_TOKEN }} INPUTS_FIX_VERSION: ${{ inputs.fix_version }} INPUTS_FROM_GIT_REF: ${{ inputs.from_git_ref }} INPUTS_END_GIT_REF: ${{ inputs.end_git_ref }} run: | pushd ./tools/commit-checker pipenv install pipenv run python3 check.py \ --jira-query "project=ICU AND fixVersion=${INPUTS_FIX_VERSION}" \ --rev-range "${INPUTS_FROM_GIT_REF}..${INPUTS_END_GIT_REF}" > REPORT.md popd # https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/ - name: Reproduce report as workflow job summary run: | cat ./tools/commit-checker/REPORT.md >> $GITHUB_STEP_SUMMARY echo "View the Summary page of this GHA Workflow instance to view the rendered Markdown of this report."