Skip to content

chore(deps): [WPB-9777] bump com.google.protobuf from 0.9.4 to 0.10.0 #6814

chore(deps): [WPB-9777] bump com.google.protobuf from 0.9.4 to 0.10.0

chore(deps): [WPB-9777] bump com.google.protobuf from 0.9.4 to 0.10.0 #6814

name: Link and Lint PR with Jira Ticket Number
on:
pull_request:
types: [opened, edited, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read # required to read version metadata from the repository
jobs:
get-version:
name: Get Version
runs-on: ubuntu-latest
# Skip for fork PRs — head.repo.full_name differs from the base repo for forks
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
outputs:
version_name: ${{ steps.version.outputs.version_name }}
steps:
- name: Get version name from Wire-Android
id: version
env:
WIRE_ANDROID_REF: ${{ github.event.pull_request.base.ref }}
run: |
set -euo pipefail
URL="https://raw.githubusercontent.com/wireapp/wire-android/${WIRE_ANDROID_REF}/build-logic/plugins/src/main/kotlin/AndroidCoordinates.kt"
VERSION=$(curl -fsSL "$URL" | grep 'const val versionName' | sed -E 's/.*"([^"]+)".*/\1/')
if [ -z "$VERSION" ]; then
echo "Failed to read versionName from $URL" >&2
exit 1
fi
echo "version_name=$VERSION" >> "$GITHUB_OUTPUT"
add-jira-description:
name: Add Jira Description
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
needs: get-version
permissions:
contents: read # required by the reusable Jira workflow
pull-requests: write # required to update PR descriptions with Jira links
uses: wireapp/.github/.github/workflows/jira-link-pr-reusable.yml@b00595235816b9a935c7463b990fae39864903a5
with:
skip-branches: '^(production-release|main|master|release\/v\d+)$'
skip-actors: 'dependabot[bot],AndroidBob'
version-name: ${{ needs.get-version.outputs.version_name }}
fix-version-regex: '(?:^|[\s\-_])(v?\d+\.\d+(?:\.\d+)?(?:[\-\+][\w\.\-]*)?)'
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
jira-token: ${{ secrets.JIRA_TOKEN }}