build(deps-dev): bump vite from 4.5.3 to 4.5.5 in /packages/wp-content/plugins/formbuilder-embedded in the npm_and_yarn group across 1 directory #3
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 Playground files on merge | |
on: | |
pull_request: | |
types: [closed] | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
remove-playground: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git configuration | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
- name: setup gh-pages branch | |
run: | | |
git clone --single-branch --branch gh-pages https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} gh-pages | |
cd gh-pages | |
rm -rf pr/${{ github.head_ref}} | |
git add --all | |
git commit -m "Remove playground files for PR ${{ github.head_ref }}" | |
git push origin gh-pages --force | |