Skip to content

fix: start application with api mode #15

fix: start application with api mode

fix: start application with api mode #15

name: Version Updater

Check failure on line 1 in .github/workflows/version-updater.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/version-updater.yml

Invalid workflow file

Workflow 'Version Updater' cannot listen to itself.
on:
workflow_dispatch:
workflow_run:
workflows: ["Version Updater"]
types: completed
branches:
- chore/*
- main
permissions:
contents: write
jobs:
pipoca:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Configure git
run: git config --global user.name 'kruceo' && git config --global user.email '${{secrets.OWNER_EMAIL}}'
- name: Run pipoca
run: |
npx -y https://github.com/Kruceo/Pipoca.git
- name: Push
continue-on-error: true
run: |
git add cmd/version.go
git commit -m '[Automated] update version'
git push origin HEAD