@@ -877,24 +877,19 @@ jobs:
877877
878878Complete mapping table for ci-common-scripts compatibility :
879879
880- | Cirrus CI Variable | GitHub Actions Variable | Purpose |
881- |--------------------------------------|-----------------------------------------------------|-----------------------------|
882- | `CIRRUS_CHANGE_IN_REPO` | `GITHUB_SHA` | Git commit SHA |
883- | `CIRRUS_BASE_BRANCH` | `GITHUB_BASE_REF` | Base branch for PRs |
884- | `CIRRUS_BRANCH` | `GITHUB_HEAD_REF` (PR) / `GITHUB_REF_NAME` (branch) | Current branch |
885- | `CIRRUS_REPO_FULL_NAME` | `GITHUB_REPOSITORY` | Full repo name (owner/repo) |
886- | `CIRRUS_BUILD_ID` / `CIRRUS_TASK_ID` | `GITHUB_RUN_ID` | Build/run identifier |
887- | `BUILD_NUMBER` / `CI_BUILD_NUMBER` | `BUILD_NUMBER` / `BUILD_ID` / `PIPELINE_ID` | Build number |
888- | `CIRRUS_REPO_NAME` | `PROJECT` | Repository name only |
889- | `PROJECT_VERSION` | `PROJECT_VERSION` | Project version |
890- | `CIRRUS_DEFAULT_BRANCH` | `DEFAULT_BRANCH` | Default branch |
891- | `CIRRUS_PR` | `PULL_REQUEST` | PR number or false |
892- | `CIRRUS_BASE_SHA` | `PULL_REQUEST_SHA` | Base SHA for PRs |
893- | `CIRRUS_ENV` | `GITHUB_ENV` | Environment file path |
894-
895- **Additional Variables**:
896-
897- - `SONARSOURCE_QA` : Set to `true` if not prefixed with BUILD (impacts Maven settings)
880+ | Cirrus CI Variable | GitHub Actions Variable | Purpose |
881+ |--------------------------------------------------|-----------------------------------------------------|--------------------------------------------------|
882+ | `GIT_SHA1` or `CIRRUS_CHANGE_IN_REPO` | `GITHUB_SHA` | Git commit SHA |
883+ | `GITHUB_BASE_BRANCH` or `CIRRUS_BASE_BRANCH` | `GITHUB_BASE_REF` | Base branch for PRs |
884+ | `CIRRUS_BASE_SHA` | - | Base SHA for PRs |
885+ | `GITHUB_BRANCH` or `CIRRUS_BRANCH` | `GITHUB_HEAD_REF` (PR) / `GITHUB_REF_NAME` (branch) | Current branch |
886+ | `GITHUB_REPO` or `CIRRUS_REPO_FULL_NAME` | `GITHUB_REPOSITORY` | Full repo name (owner/repo) |
887+ | `CIRRUS_REPO_NAME` or `PROJECT` | `"${GITHUB_REPOSITORY#*/}"` | Repository short name |
888+ | `CIRRUS_BUILD_ID` or `PIPELINE_ID` | `GITHUB_RUN_ID` | Cirrus CI build / GitHub workflow run identifier |
889+ | `CIRRUS_TASK_ID` | `GITHUB_JOB` | Cirrus CI task / GitHub job identifier |
890+ | `BUILD_NUMBER`, `CI_BUILD_NUMBER`, or `BUILD_ID` | `BUILD_NUMBER` | Build number |
891+ | `CIRRUS_DEFAULT_BRANCH` | `${{ github.event.repository.default_branch }}` | Default branch |
892+ | `CIRRUS_ENV` | `GITHUB_ENV` | Environment file path |
898893
899894# ### Specific Environment Variable Mappings
900895
0 commit comments