Change asymmetric visibility example to show how it simplifies code #212
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: Remove preview PR | |
on: | |
pull_request_target: | |
types: [ closed ] | |
jobs: | |
build: | |
runs-on: "ubuntu-22.04" | |
if: github.repository_owner == 'php' | |
steps: | |
- uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.PREVIEW_REMOTE_HOST }} | |
username: ${{ secrets.PREVIEW_REMOTE_USER }} | |
key: ${{ secrets.PREVIEW_SSH_KEY }} | |
script: | | |
bash /home/thephpfoundation/scripts/pr_closed.sh web-php ${{ github.event.number }} | |
bash /home/thephpfoundation/scripts/pr_closed.sh web-php-regression-report ${{ github.event.number }} |