Skip to content

Delete old artifacts #21802

Delete old artifacts

Delete old artifacts #21802

name: 'Delete old artifacts'
on:
schedule:
- cron: '0 * * * *' # Every hour
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
jobs:
delete-artifacts:

Check failure on line 13 in .github/workflows/clear-artifacts.yml

View workflow run for this annotation

GitHub Actions / Delete old artifacts

Invalid workflow file

The workflow is not valid. .github/workflows/clear-artifacts.yml (Line: 13, Col: 3): Error calling workflow 'mosip/kattu/.github/workflows/clear-artifacts.yml@master-java21'. The workflow is requesting 'actions: write', but is only allowed 'actions: none'.
uses: mosip/kattu/.github/workflows/clear-artifacts.yml@master-java21
secrets:
ACCESS_TOKEN: ${{ secrets.access_token }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}