Skip to content

Merge pull request #484 from consensusnetworks/update/v1 #326

Merge pull request #484 from consensusnetworks/update/v1

Merge pull request #484 from consensusnetworks/update/v1 #326

Workflow file for this run

name: Promote
on:
push:
branches: [develop]
jobs:
promote:
name: Promote
runs-on: ubuntu-latest
# Skip any pushes from the act CLI
# Comment out for testing
if: ${{ github.actor != "nektos/act" }}

Check failure on line 14 in .github/workflows/promote.yml

View workflow run for this annotation

GitHub Actions / Promote

Invalid workflow file

The workflow is not valid. .github/workflows/promote.yml (Line: 14, Col: 9): Unexpected symbol: '"nektos/act"'. Located at position 17 within expression: github.actor != "nektos/act"
steps:
- uses: actions/checkout@v3
with:
ref: master
token: ${{ github.token }}
- name: Reset promotion branch
run: |
git fetch origin develop:develop
git reset --hard develop
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: develop
reviewers: robosupport
token: ${{ github.token }}
title: "Promote develop to master"