Skip to content

Post welcome comment #34

Post welcome comment

Post welcome comment #34

Workflow file for this run

name: Post welcome comment
on:
workflow_dispatch:
push:
branches:
[master, dev]
pull_request:
types:
- opened
#branches:
# [master, dev]
jobs:
build:
name: Post welcome comment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: echo ${{ GITHUB_WORKSPACE }}

Check failure on line 22 in .github/workflows/welcome.yml

View workflow run for this annotation

GitHub Actions / Post welcome comment

Invalid workflow file

The workflow is not valid. .github/workflows/welcome.yml (Line: 22, Col: 14): Unrecognized named-value: 'GITHUB_WORKSPACE'. Located at position 1 within expression: GITHUB_WORKSPACE
- name: Add link to PR
#if: ${{ github.event_name == 'pull_request' }}
uses: VirtoCommerce/vc-github-actions/publish-artifact-link@master
with:
artifactUrl: ${{ github.event_name }}
repoOrg: ${{ github.repository_owner }}
downloadComment: 'Artifact URL:'