Fix error when Bearer token is requested with empty string #4863
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Build | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'spring-projects/spring-security' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up gradle | |
uses: spring-io/spring-gradle-build-action@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew clean build -PskipCheckExpectedBranchVersion --continue --scan | |
generate-docs: | |
name: Generate Docs | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'spring-projects/spring-security' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up gradle | |
uses: spring-io/spring-gradle-build-action@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Run Antora | |
run: ./gradlew -PbuildSrc.skipTests=true :spring-security-docs:antora | |
- name: Upload Docs | |
id: upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs | |
path: docs/build/site | |
overwrite: true | |
send-notification: | |
name: Send Notification | |
needs: [ build, generate-docs ] | |
if: ${{ failure() && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Notification | |
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1 | |
with: | |
webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }} |