Skip to content

refactor: action trigger logic #9

refactor: action trigger logic

refactor: action trigger logic #9

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
if: ${{ !startsWith(github.head_ref, 'release/v') }}
tests:
name: Tests
uses: ./.github/workflows/test.yml
needs: lint
if: ${{ !startsWith(github.head_ref, 'release/v') }}
build:
name: Build
uses: ./.github/workflows/build.yml
needs: tests
if: ${{ !startsWith(github.head_ref, 'release/v') }}
release:

Check failure on line 29 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: 29, Col: 3): Error calling workflow 'gitify-app/gitify/.github/workflows/release.yml@83d517813005be52bde5981bc205600f3a3e5bd7'. 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') }}