Skip to content

Potential fix for code scanning alert no. 4: Workflow does not contai… #3014

Potential fix for code scanning alert no. 4: Workflow does not contai…

Potential fix for code scanning alert no. 4: Workflow does not contai… #3014

Workflow file for this run

name: Continuous Integration Workflow
on:
pull_request:
push:
# This workflow runs every weekday at 15:00 UTC (8AM PDT)
schedule:
- cron: '00 15 * * 1-5'
jobs:
Static_Analysis:
uses: ./.github/workflows/static-analysis.yml
Build:
strategy:
fail-fast: false # TODO: Set to true once CI is stable
matrix:
version: [ 8, 11, 17 ]
distribution: [ corretto, temurin ] # TODO: Add OpenJDK
uses: ./.github/workflows/build.yml
secrets: inherit
with:
version: ${{ matrix.version }}
distribution: ${{ matrix.distribution }}
Examples:

Check failure on line 26 in .github/workflows/ci-workflow.yml

View workflow run for this annotation

GitHub Actions / Continuous Integration Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/ci-workflow.yml (Line: 26, Col: 3): Error calling workflow 'aws/amazon-s3-encryption-client-java/.github/workflows/examples.yml@9ac6ba9b9bc571b6a6ffdf97e9955c272553ef99'. The nested job 'MigrationExamples' is requesting 'id-token: write', but is only allowed 'id-token: none'.
permissions:
contents: read
uses: ./.github/workflows/examples.yml
secrets: inherit
with:
version: 17
distribution: corretto