Skip to content

Bump prettier from 3.0.1 to 3.0.2 #381

Bump prettier from 3.0.1 to 3.0.2

Bump prettier from 3.0.1 to 3.0.2 #381

Workflow file for this run

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 }}