Skip to content

Update many of the operator-workflow-actions #324

Update many of the operator-workflow-actions

Update many of the operator-workflow-actions #324

name: Auto-update K8s charm libraries
on:
schedule:
- cron: "0 1 * * *"
pull_request:
jobs:
charmcraft-channel:
runs-on: ubuntu-24.04
outputs:
channel: ${{ steps.charmcraft.outputs.channel }}
steps:
- uses: actions/checkout@v4
- name: Get charmcraft channel
id: charmcraft
run: echo "channel=$(cat .charmcraft-channel)" >> $GITHUB_OUTPUT
auto-update-libs:

Check failure on line 18 in .github/workflows/auto-update-libs-k8s-worker.yaml

View workflow run for this annotation

GitHub Actions / Auto-update K8s charm libraries

Invalid workflow file

The workflow is not valid. .github/workflows/auto-update-libs-k8s-worker.yaml (Line: 18, Col: 3): Error calling workflow 'addyess/operator-workflows/.github/workflows/auto_update_charm_libs.yaml@akd/auto-update-charmcraft-channel'. The nested job 'update-lib' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: [charmcraft-channel]
uses: addyess/operator-workflows/.github/workflows/auto_update_charm_libs.yaml@akd/auto-update-charmcraft-channel
secrets: inherit
with:
working-directory: ./charms/worker/k8s
charmcraft-channel: ${{ needs.charmcraft-channel.outputs.channel }}