Skip to content

permissions update

permissions update #15

Workflow file for this run

name: CI build
on:
push:
branches:
- main
- v[0-9]+
- v[0-9]+.[0-9]+
- cryostat-v[0-9]+.[0-9]+
pull_request:
branches:
- main
- v[0-9]+
- v[0-9]+.[0-9]+
- cryostat-v[0-9]+.[0-9]+
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: skjolber/maven-cache-github-action@v1
with:
step: restore
- run: mvn -B -U clean verify
- uses: skjolber/maven-cache-github-action@v1
with:
step: save
cryostat-test:

Check failure on line 34 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI build

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 34, Col: 3): Error calling workflow 'mwangggg/cryostat-core/.github/workflows/cryostat-IT.yml@07a678736ade5ae183772cf06c5c5097e5a74556'. The workflow is requesting 'packages: write', but is only allowed 'packages: read'.
needs: [build]
strategy:
matrix:
arch: [amd64, arm64]
uses: ./.github/workflows/cryostat-IT.yml
with:
build-arch: ${{ matrix.arch }}
skip-itests: ${{ matrix.arch != 'amd64' }}