Skip to content

Branch snap

Branch snap #5

Workflow file for this run

name: Branch snap
on:
workflow_dispatch
permissions:
contents: write
pull-requests: write
jobs:
check-script:
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
with:
configuration_file_path: '.config/snap-flow.json'
create-pull-request:
if: github.ref == 'refs/heads/action_inc_version'
steps:
- name: Check out
uses: actions/checkout@v2
- name: Install NodeJS
uses: actions/setup-node@v4
node-version: '18.x'

Check failure on line 22 in .github/workflows/branch-snap.yml

View workflow run for this annotation

GitHub Actions / Branch snap

Invalid workflow file

The workflow is not valid. .github/workflows/branch-snap.yml (Line: 22, Col: 9): Unexpected value 'node-version' .github/workflows/branch-snap.yml (Line: 16, Col: 5): Required property is missing: runs-on
- name: Install dependencies
run: |
npm ci
npm i -g gulp
- name: Update version.json
run: gulp incrementVersionJson
- name: Create version.json update PR
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update main version
title: 'Update main version'
branch: merge/update-main-version