Skip to content

Enable Develocity build scans #755

Enable Develocity build scans

Enable Develocity build scans #755

name: Build Pull Request
on:
pull_request:
merge_group:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
common:
uses: ./.github/workflows/build-common.yml
with:
cache-read-only: true
# retry in merge queue to avoid unnecessary failures
max-test-retries: ${{ github.event_name == 'merge_group' && 5 || 0 }}
secrets:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}

Check failure on line 22 in .github/workflows/build-pull-request.yml

View workflow run for this annotation

GitHub Actions / Build Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/build-pull-request.yml (Line: 22, Col: 30): Invalid secret, DEVELOCITY_ACCESS_KEY is not defined in the referenced workflow.
link-check:
uses: ./.github/workflows/reusable-link-check.yml
required-status-check:
if: always()
needs:
- common
- link-check # wait for link check to complete, but don't require it to pass for merging
runs-on: ubuntu-latest
steps:
# The reusable workflow success depends on all its jobs passing
- if: needs.common.result != 'success'
run: exit 1 # fail