Skip to content

Commit 18934cb

Browse files
authored
Remove comments and streamline pr-actions.yml
1 parent bca5bb1 commit 18934cb

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/pr-actions.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,16 @@ jobs:
2828
- name: Checkout
2929
uses: actions/checkout@v4
3030
with:
31-
# we need to checkout the fork repository
32-
# see https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#workflow-should-run-in-base-repository
3331
fetch-depth: 1
3432
repository: "${{ steps.get-branch.outputs.repository }}"
3533
ref: "${{ steps.get-branch.outputs.branch }}"
36-
# We can't use GITHUB_TOKEN here because, github actions can't trigger actions
37-
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
38-
# So this is a personal access token
3934
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
40-
- name: Lint files
41-
# 2. Set up Node.js environment
4235
- name: Set up Node.js
4336
uses: actions/setup-node@v4
4437
with:
4538
node-version: '20' # Specify your project's Node.js version
4639
cache: 'npm' # Or 'yarn' or 'pnpm' based on your package manager
47-
48-
# 3. Install project dependencies
49-
# Using 'ci' is generally recommended for CI environments for speed and reliability
50-
- name: Install dependencies
5140
run: npm ci # Or 'yarn install --frozen-lockfile' or 'pnpm install --frozen-lockfile'
52-
53-
# 4. Run Prettier with --write flag
54-
# Adjust the file pattern if needed. '.' formats all supported files found.
55-
# You might use specific patterns like: "src/**/*.{js,ts,json,md}"
5641
- name: Run Prettier
5742
run: npx prettier --write .
5843
- name: Push changes if needed

0 commit comments

Comments
 (0)