From 16130e473c521d88c0c7eee520d99642995725b5 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 1 Jul 2024 09:32:58 +0100 Subject: [PATCH] gha: ci: Remove incorrect secrets line The CI is failing with: ``` Invalid workflow file: .github/workflows/cleanup-resources.yaml#L10 The workflow is not valid. .github/workflows/cleanup-resources.yaml (Line: 10, Col: 5): Unexpected value 'secrets' ``` I think this is because `secrets: inherit` is only applicable when re-using a workflow, not for a standalone job like we have here. Signed-off-by: stevenhorsman --- .github/workflows/cleanup-resources.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cleanup-resources.yaml b/.github/workflows/cleanup-resources.yaml index 043e626a96..5e3f19887a 100644 --- a/.github/workflows/cleanup-resources.yaml +++ b/.github/workflows/cleanup-resources.yaml @@ -7,7 +7,6 @@ on: jobs: cleanup-resources: runs-on: ubuntu-latest - secrets: inherit steps: - name: Cleanup resources run: python3 tests/cleanup_resources.py