Skip to content

Commit

Permalink
Merge pull request #99 from StarManTheGamer/poly-new
Browse files Browse the repository at this point in the history
create pull request with changes
  • Loading branch information
Alyxsqrd authored Jun 5, 2024
2 parents 7ae0c2a + 441287b commit 52ac3a9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Prettier Format and Commit

on:
pull_request:
push:
branches:
- main
- 'refs/heads/*'
Expand All @@ -13,8 +13,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -24,6 +22,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Pull latest changes
run: git pull

- name: Run Prettier
run: npx prettier --write .

Expand All @@ -43,8 +44,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push changes
- name: Create Pull Request
if: env.changes_committed == 'true'
run: git push origin HEAD:${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: format code with Prettier"
branch: prettier-fix
title: "chore: format code with Prettier"
body: "This PR formats the code with Prettier."
labels: prettier
3 changes: 3 additions & 0 deletions docs/objects/effects/ImageSky.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ The image ID of the back side of the skybox.






### BottomId:int { property }

The image ID of the bottom side of the skybox.
Expand Down

0 comments on commit 52ac3a9

Please sign in to comment.