fix: hide "Add a new editor" button from non-admin users #2927
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pizza Teardown | |
on: | |
pull_request: | |
types: [closed] | |
env: | |
DOMAIN: planx.pizza | |
PULLREQUEST_ID: ${{ github.event.number }} | |
jobs: | |
teardown_pizza: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Remove vultr resources | |
uses: theopensystemslab/[email protected] | |
with: | |
action: destroy | |
api_key: ${{ secrets.VULTR_API_KEY }} | |
domain: ${{ env.DOMAIN }} | |
os_type: alpine | |
plan: vc2-1c-1gb | |
pull_request_id: ${{ env.PULLREQUEST_ID }} | |
region: lhr | |
tag: pullrequest | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: vultr | |
message: | | |
Removed vultr server and associated DNS entries |