Skip to content

refactor: action trigger logic #11

refactor: action trigger logic

refactor: action trigger logic #11

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint App
uses: ./.github/workflows/lint.yml
tests:
name: Tests
uses: ./.github/workflows/test.yml
needs: lint
build:
name: Build
uses: ./.github/workflows/build.yml
needs: tests
if: ${{ !startsWith(github.head_ref, 'release/v') }}
release:

Check failure on line 27 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 27, Col: 3): Error calling workflow 'gitify-app/gitify/.github/workflows/release.yml@05ecfd6bbe5ffe1246b3af522d9830967dd362dd'. The workflow is requesting 'contents: write', but is only allowed 'contents: read'.
name: Release
uses: ./.github/workflows/release.yml
needs: build
if: ${{ startsWith(github.head_ref, 'release/v') }}