Bump prettier from 3.0.1 to 3.0.2 #381
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: Unstage | |
on: | |
pull_request_target: | |
types: [ closed ] | |
branches: [ master ] | |
jobs: | |
staging: | |
name: Remove Pull Request from Staging | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup git config | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
- name: Checkout Staging repo | |
uses: actions/checkout@v2 | |
with: | |
repository: AdoptOpenJDK/staging-blog | |
path: staging-blog | |
token: ${{ secrets.ACCESS_TOKEN }} | |
ssh-key: ${{ secrets.ADOPT_BOT_SSH_PRIVATE }} | |
- run: | | |
echo "removing $number" | |
cd staging-blog | |
git rm -rf "$PR_NUMBER" | |
git commit -m "Remove $PR_NUMBER from staging" | |
git push origin gh-pages | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} |