This repository was archived by the owner on Nov 24, 2025. It is now read-only.
cookie parser #38
This file contains hidden or 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: Restyled | |
| on: | |
| push: | |
| branches: | |
| - master # or specify other branches you want to target | |
| jobs: | |
| restyled: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the current branch's code | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # Install Restyled CLI | |
| - name: Install Restyled CLI | |
| uses: restyled-io/actions/setup@v3 | |
| # Run Restyled to restyle the entire repository | |
| - name: Run Restyled | |
| id: restyler | |
| uses: restyled-io/actions/run@v3 | |
| with: | |
| fail-on-differences: true | |
| paths: '**/*' # This is required to specify the paths to restyle | |
| # Create a pull request with the style changes if needed | |
| - name: Create Pull Request with Restyled Changes | |
| if: ${{ steps.restyler.outputs.success == 'true' }} | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| commit-message: "Restyled Code" | |
| branch: "restyled-branch" | |
| title: "Restyled Code" | |
| body: "This pull request contains automatic restyling of the code." | |
| base: ${{ github.ref_name }} # Use the branch that triggered the event | |
| author: "restyled-io <bot@restyled.io>" |