Skip to content

[java] fix JSON parsing of numbers with exponent (#16961) #680

[java] fix JSON parsing of numbers with exponent (#16961)

[java] fix JSON parsing of numbers with exponent (#16961) #680

Workflow file for this run

name: CI - Lint
on:
pull_request:
push:
branches:
- trunk
workflow_dispatch:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
actionlint:
name: Validate workflows
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate workflows
uses: raven-actions/[email protected]
check-protected:
name: Check Protected Files
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check for protected files
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
protected:
- 'scripts/format.sh'
- 'scripts/github-actions/check-format.sh'
- name: Fail if Protected
if: steps.filter.outputs.protected == 'true'
run: |
echo "::notice::PR from fork modifies format script"
exit 1
format:
name: Format
if: startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: Check Format
run: ./scripts/github-actions/check-format.sh
artifact-name: format-changes
fork-format-error:
name: Fork format instructions
needs: format
if: failure() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork
runs-on: ubuntu-latest
steps:
- name: Format instructions
run: |
echo "::error::Code needs formatting. Run ./scripts/format.sh locally and push changes."
exit 1
commit-fixes:

Check failure on line 67 in .github/workflows/ci-lint.yml

View workflow run for this annotation

GitHub Actions / CI - Lint

Invalid workflow file

The workflow is not valid. .github/workflows/ci-lint.yml (Line: 67, Col: 3): Error calling workflow 'SeleniumHQ/selenium/.github/workflows/commit-changes.yml@8a51b95ef1adeae0055ef3c6941c55892197df09'. The nested job 'commit' is requesting 'actions: read, contents: write', but is only allowed 'actions: none, contents: none'.
name: Commit fixes
needs: format
if: failure() && github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
uses: ./.github/workflows/commit-changes.yml
with:
artifact-name: format-changes
commit-message: "Auto-format code"
ref: ${{ github.event.pull_request.head.ref }}