Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@
# questions.
#

name: 'OpenJDK GHA Sanity Checks'

Check warning on line 26 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:26: overly broad permissions: default permissions used due to no permissions: block

on:
push:
branches-ignore:
- pr/*
workflow_dispatch:
inputs:
platforms:
Expand All @@ -55,7 +52,7 @@
### Determine platforms to include
###

prepare:

Check warning on line 55 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:55: overly broad permissions: default permissions used due to no permissions: block
name: 'Prepare the run'
runs-on: ubuntu-24.04
env:
Expand Down Expand Up @@ -102,7 +99,7 @@

function check_platform() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'

Check failure on line 102 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 102 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

main.yml:102: code injection via template expansion: may expand into attacker-controllable code
elif [[ $GITHUB_EVENT_NAME == push ]]; then
if [[ '${{ !secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/') }}' == 'false' ]]; then
# If JDK_SUBMIT_FILTER is set, and this is not a "submit/" branch, don't run anything
Expand Down Expand Up @@ -151,7 +148,7 @@
function check_dry_run() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
# Take the user-specified one.
echo '${{ github.event.inputs.dry-run }}'

Check failure on line 151 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 151 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

main.yml:151: code injection via template expansion: may expand into attacker-controllable code
return
elif [[ $GITHUB_EVENT_NAME == push ]]; then
# Cut out the real branch name
Expand Down Expand Up @@ -193,7 +190,7 @@
### Build jobs
###

build-linux-x64:

Check warning on line 193 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:193: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -206,7 +203,7 @@
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64 == 'true'

build-linux-aarch64:

Check warning on line 206 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:206: overly broad permissions: default permissions used due to no permissions: block
name: linux-aarch64
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -220,7 +217,7 @@
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-aarch64 == 'true'

build-linux-x64-hs-nopch:

Check warning on line 220 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:220: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64-hs-nopch
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -235,7 +232,7 @@
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'

build-linux-x64-hs-zero:

Check warning on line 235 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:235: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64-hs-zero
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -250,7 +247,7 @@
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'

build-linux-x64-hs-minimal:

Check warning on line 250 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:250: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64-hs-minimal
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -265,7 +262,7 @@
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'

build-linux-x64-hs-optimized:

Check warning on line 265 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:265: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64-hs-optimized
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -281,7 +278,7 @@
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'

build-linux-x64-static:

Check warning on line 281 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:281: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64-static
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand All @@ -298,7 +295,7 @@
static-suffix: "-static"
if: needs.prepare.outputs.linux-x64 == 'true'

build-linux-x64-static-libs:

Check warning on line 298 in .github/workflows/main.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

main.yml:298: overly broad permissions: default permissions used due to no permissions: block
name: linux-x64-static-libs
needs: prepare
uses: ./.github/workflows/build-linux.yml
Expand Down
Loading