Skip to content

Enable Develocity build scans #8

Enable Develocity build scans

Enable Develocity build scans #8

name: Build Pull Request
on:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
common:
uses: ./.github/workflows/build-common.yml
with:
cache-read-only: true
secrets:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}

Check failure on line 19 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: 19, 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