kargnas_obsidian-create-not.../.github/workflows/auto-release.yml
Sangrak Choi 2348bf5923 깃허브 액션 릴리즈 실패 수정 (vibe-kanban 9ee625df)
```javascript

액션 정보
- Automatic Release (#1) #1

오류 내용​
Run npm run release
> obsidian-create-note-with-date@0.2.5 release
> node release.mjs
 Cannot proceed with release: You have uncommitted changes.

Please commit or stash your changes before running the release script.

Error: Process completed with exit code 1.


```

```javascript

0s

```

```javascript

1s

```

```javascript

0s

```
2026-01-11 20:40:37 -08:00

49 lines
1.2 KiB
YAML

name: Auto Release
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
if: "${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && !contains(github.event.head_commit.message, 'chore: release')) }}"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Wait for 10 minutes
if: github.event_name == 'push'
run: |
echo "Waiting 10 minutes before release..."
sleep 600
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Run release script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run release