Skip to content

_cicd (build and release entry) #475

_cicd (build and release entry)

_cicd (build and release entry) #475

Workflow file for this run

name: _cicd (build and release entry)
on:
push:
branches:
- main
release:
types:
- released
workflow_dispatch:
inputs:
core_repo_reference:
description: 'The SHA to set the core repo to'
required: false
default: refs/heads/main
config_repo_reference:
description: 'The SHA to set the config repo to'
required: false
default: refs/heads/main
permissions:
id-token: write
contents: read
jobs:
release-dev:

Check failure on line 26 in .github/workflows/_cicd.yml

View workflow run for this annotation

GitHub Actions / _cicd (build and release entry)

Invalid workflow file

The workflow is not valid. .github/workflows/_cicd.yml (Line: 26, Col: 3): Error calling workflow 'i-dot-ai/redbox/.github/workflows/build-and-release.yml@danny/oidc-roles'. The nested job 'start-runner' is requesting 'actions: write, attestations: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write', but is only allowed 'actions: none, attestations: none, check[...] .github/workflows/_cicd.yml (Line: 26, Col: 3): Error calling workflow 'i-dot-ai/redbox/.github/workflows/build-and-release.yml@danny/oidc-roles'. The nested job 'build-image' is requesting 'actions: write, attestations: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write', but is only allowed 'actions: none, attestations: none, checks[...]
# if: ${{ false }} # Uncomment this, and comment out the line below, to disable this workflow path
if: github.event_name == 'workflow_dispatch'
uses: i-dot-ai/redbox/.github/workflows/build-and-release.yml@danny/oidc-roles
with:
environment: dev
core_infra_repo_reference: ${{ inputs.core_repo_reference }}
config_repo_reference: ${{ inputs.config_repo_reference }}
author_name: ${{ github.actor }}
secrets: inherit
release-preprod:
# if: ${{ false }} # Uncomment this, and comment out the line below, to disable this workflow path
if: github.event_name == 'push' && github.ref_name == 'main'
uses: i-dot-ai/redbox/.github/workflows/build-and-release.yml@main
with:
environment: preprod
core_infra_repo_reference: 'refs/heads/main'
config_repo_reference: 'refs/heads/main'
author_name: ${{ github.actor }}
secrets: inherit
release-prod:
# if: ${{ false }} # Uncomment this, and comment out the line below, to disable this workflow path
if: github.event_name == 'release'
uses: i-dot-ai/redbox/.github/workflows/build-and-release.yml@main
with:
environment: prod
core_infra_repo_reference: 'refs/heads/main'
config_repo_reference: 'refs/heads/main'
author_name: ${{ github.event.release.user.login }}
secrets: inherit