Skip to content

Commit

Permalink
add permission for delete preview (MetaMask#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ authored Apr 27, 2023
1 parent e9ea8ba commit 408c37d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/delete-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
delete_branch_folder_job:
runs-on: ubuntu-latest
needs: is-fork-pull-request
permissions:
contents: write
if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' && github.event.pull_request.head.ref != 'wallet' && github.event.pull_request.head.ref != 'snaps' && github.event.pull_request.head.ref != 'guide' && github.event.pull_request.head.ref != 'assets' && github.event.pull_request.head.ref != 'img' && github.event.pull_request.head.ref != 'search' }}
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 408c37d

Please sign in to comment.