chore(deps): update dependency @changesets/cli to ^2.27.10 #68
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: Code Check | |
on: | |
pull_request | |
permissions: | |
actions: read | |
contents: write | |
jobs: | |
lint: | |
name: 💅 Biome | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🦖 Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
- name: 🔻 Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: 🏃 Run Node and NPM setup | |
uses: ./.github/actions/setup-project | |
- name: 👧 Lint check | |
id: lint | |
run: | | |
pnpm lint:fix | |
# Check for changes | |
if git diff --name-only --exit-code; then | |
echo "has_changes=false" >> $GITHUB_OUTPUT | |
else | |
echo "has_changes=true" >> $GITHUB_OUTPUT | |
fi | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
# Optional. Commit message for the created commit. | |
# Defaults to "Apply automatic changes" | |
commit_message: "fix(lint): errors" | |
# - name: 📤 Pushing changes | |
# if: ${{ steps.lint.outputs.has_changes == 'true' }} | |
# uses: ad-m/github-push-action@master | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# branch: ${{ github.ref }} |