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 <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2024-07-01 09:32:58 +01:00
parent f0187ff969
commit 16130e473c

View File

@@ -7,7 +7,6 @@ on:
jobs:
cleanup-resources:
runs-on: ubuntu-latest
secrets: inherit
steps:
- name: Cleanup resources
run: python3 tests/cleanup_resources.py