Skip to content

feat: only check from latest tag #5

feat: only check from latest tag

feat: only check from latest tag #5

Workflow file for this run

name: cocogitto
on:
workflow_dispatch:
branches: main
jobs:
# Only update release when merging into `origin/main`.`
if: "github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'yoctoyotta1024'"

Check failure on line 9 in .github/workflows/cocogitto.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cocogitto.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
release:
steps:
- name: Perform release
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cocogitto release
id: release
uses: oknozor/cocogitto-action@v3
with:
release: true
git-user: 'yoctoyotta1024'
git-user-email: '[email protected]'
- name: Generate Changelog
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
- name: Upload github release
uses: softprops/action-gh-release@v1
with:
body_path: GITHUB_CHANGELOG.md
tag_name: ${{ steps.release.outputs.version }}