Skip to content

fix(github-123): restore correct workflow permissions per quickstart-… #458

fix(github-123): restore correct workflow permissions per quickstart-…

fix(github-123): restore correct workflow permissions per quickstart-… #458

Workflow file for this run

name: Pull Request Closed

Check failure on line 1 in .github/workflows/pr-close.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-close.yml

Invalid workflow file

(Line: 18, Col: 5): 'permissions' is already defined, (Line: 20, Col: 5): 'permissions' is already defined
on:
pull_request:
types:
- closed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cleanup:
name: Cleanup and Image Promotion
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@6d695dd755fa9255ea4bde335890516beb6f95e4 # v1.0.1
permissions:
packages: write
permissions:
packages: write
permissions:
packages: write
secrets:
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
cleanup: helm
packages: api frontend database