Skip to content

Commit 9a0e4db

Browse files
committed
Fix on-pr-closed workflow failure
Needed to add rbac perms for `pipeline` SA on openshift
1 parent a224b2a commit 9a0e4db

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/on-pr-closed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
- name: Remove PR Deployment
4040
shell: bash
4141
run: |
42+
oc whoami
43+
oc auth can-i delete rolebindings -n d9d78e-dev
4244
helm uninstall --namespace ${{ env.NAMESPACE_PREFIX }}-dev pr-${{ github.event.number }} --timeout 10m --wait
4345
oc delete --namespace ${{ env.NAMESPACE_PREFIX }}-dev cm,secret --selector app.kubernetes.io/instance=pr-${{ github.event.number }}
4446
- name: Remove Release Comment on PR

0 commit comments

Comments
 (0)