Skip to content

Add permissions to the closed PR workflow #2

Add permissions to the closed PR workflow

Add permissions to the closed PR workflow #2

Workflow file for this run

on:
pull_request:
types: [ closed ]
jobs:
prune:
permissions:
deployments: write
runs-on: ubuntu-latest
steps:
- name: delete environment
uses: bobheadxi/deployments@v1
with:
step: delete-env
token: ${{ secrets.GITHUB_TOKEN }}
env: preview_${{github.event.number}}
desc: Environment Deleted