name: 🚀 Release new action version on: [workflow_dispatch] permissions: contents: write jobs: update_tag: runs-on: ubuntu-latest steps: - name: 📥 Checkout uses: actions/checkout@v4 with: # Required for fetching tags and generating release notes fetch-depth: 0 - name: 🛠️ Setup Node uses: actions/setup-node@v4 with: node-version: 20.x - name: 🔧 Configure Git run: | git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' - name: 📦 Install Dependencies run: npm install - name: 📜 Generate changelog and release new version run: | npx changelogen --release --push npx changelogen github release --token ${{ secrets.GITHUB_TOKEN }}