Skip to content

Delete Release:

Delete Release: #133

name: RELEASE-DELETE
on:
schedule:
- cron: '0 17 * * 1-5'
workflow_dispatch:
inputs:
release-version:
description: 'The version of KubeBlocks release'
required: true
default: ''
run-name: Delete Release:${{ inputs.release-version }}
jobs:
delete-release:

Check failure on line 16 in .github/workflows/release-delete.yml

View workflow run for this annotation

GitHub Actions / RELEASE-DELETE

Invalid workflow file

The workflow is not valid. .github/workflows/release-delete.yml (Line: 16, Col: 3): Error calling workflow 'apecloud/apecloud-cd/.github/workflows/release-delete.yml@v0.1.38'. The nested job 'delete-release' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/release-delete.yml (Line: 16, Col: 3): Error calling workflow 'apecloud/apecloud-cd/.github/workflows/release-delete.yml@v0.1.38'. The nested job 'delete-chart' is requesting 'contents: write', but is only allowed 'contents: read'.
if: github.event_name != 'schedule'
uses: apecloud/apecloud-cd/.github/workflows/release-delete.yml@v0.1.38
with:
VERSION: "${{ inputs.release-version }}"
APECD_REF: "v0.1.38"
secrets: inherit
delete-release-schedule:
if: github.event_name == 'schedule'
uses: apecloud/apecloud-cd/.github/workflows/release-delete-schedule.yml@v0.1.38
with:
APECD_REF: "v0.1.38"
secrets: inherit