Skip to content

Fix workflow errors (#941) #7

Fix workflow errors (#941)

Fix workflow errors (#941) #7

Workflow file for this run

name: Push-Triggers
.anchor-branches: &branches

Check failure on line 3 in .github/workflows/push-triggers.yml

View workflow run for this annotation

GitHub Actions / Push-Triggers

Invalid workflow file

The workflow is not valid. .github/workflows/push-triggers.yml (Line: 3, Col: 1): Unexpected value '.anchor-branches' .github/workflows/push-triggers.yml: Anchors are not currently supported. Remove the anchor 'branches'
branches:
- main
- develop
- qa-develop
- "release-**"
on:
push:
<<: *branches
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'charts/**'
<<: *branches
jobs:
build-android:
uses: tw-mosip/kattu/.github/workflows/android-build.yml@add-inji-workflows
with:
NODE_VERSION: "16.x"
secrets:
DEBUG_KEYSTORE_ALIAS: androiddebugkey
DEBUG_KEYSTORE_PASSWORD: "dummypassword"
build-ios:
uses: tw-mosip/kattu/.github/workflows/ios-build.yml@add-inji-workflows
with:
NODE_VERSION: "16.x"
sonar-check:
if: ${{ github.event_name == 'push' }}
uses: tw-mosip/kattu/.github/workflows/sonar.yml@add-inji-workflows
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: https://sonarcloud.io
SONAR_ORGANIZATION: ${{ secrets.ORG_KEY }}
SLACK_URL: '${{ secrets.SLACK_WEBHOOK }}'