Skip to content

first check

first check #50

Workflow file for this run

name: pr-checks
on:
pull_request:
types: [ edited, opened, synchronize, reopened ]
paths-ignore:
- '**.md' ### Ignore running when .md files change
jobs:
validate-go-basic-tests-file:
permissions:
pull-requests: write
uses: ./.github/workflows/go-basic-tests.yaml
with:
GO_VERSION: 1.19
BUILD_PATH: "./testdata/."
UNIT_TESTS_PATH: "./testdata/."
# TEST_MULTI_ENVIRONMENTS: true
secrets: inherit
# validate-go-basic-tests-file-single-os:
# permissions:
# pull-requests: write
# uses: ./.github/workflows/go-basic-tests.yaml
# with:
# GO_VERSION: 1.19
# BUILD_PATH: "./testdata/."
# UNIT_TESTS_PATH: "./testdata/."
# TEST_MULTI_ENVIRONMENTS: false
# secrets: inherit
validate-package-releaser-file:

Check failure on line 32 in .github/workflows/pr.yaml

View workflow run for this annotation

GitHub Actions / pr-checks

Invalid workflow file

The workflow is not valid. .github/workflows/pr.yaml (Line: 32, Col: 3): Error calling workflow 'kubescape/workflows/.github/workflows/package-release.yaml@7bdde827052d94c0be19dba4aca9d06ed0ae7dbc'. The nested job 'release' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: validate-go-basic-tests-file
permissions:
pull-requests: write
uses: ./.github/workflows/package-release.yaml
with:
RELEASE: "v0.0.${{ github.run_number }}"
GO_VERSION: 1.19
IS_DRAFT: true
BUILD_PATH: "./testdata/."
UNIT_TESTS_PATH: "./testdata/."
secrets: inherit
# TODO: Remove created tag