Skip to content

testing

testing #4

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
jobs:
check:
name: check pr status
runs-on: ubuntu-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: check if PR is merged
uses: ${{ format('{0}/{1}/.github/actions/git/check-merge@{2}' vars.ORG_NAME, vars.REPO_NAME, vars.REF) }}

Check failure on line 17 in .github/workflows/action.yaml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/action.yaml (Line: 17, Col: 15): Unexpected symbol: 'vars'. Located at position 54 within expression: format('{0}/{1}/.github/actions/git/check-merge@{2}' vars.ORG_NAME, vars.REPO_NAME, vars.REF) .github/workflows/action.yaml (Line: 20, Col: 15): Unrecognized named-value: 'vars'. Located at position 1 within expression: vars.ORG_NAME
- name: check if PR is merged
uses: ${{ vars.ORG_NAME }}/${{ vars.REPO_NAME }}/.github/actions/git/check-merge@${{ vars.REF}}
- name: Call another action
uses: ${{ vars.ORG_NAME }}/${{ vars.REPO_NAME }}/.github/actions/python/pytest@feature/gha
with:
requirements_file: ./poc/pytest/requirements.txt
# check2:
# name: Call reusable workflow
# uses: ${{ vars.ORG_NAME }}/${{ vars.REPO_NAME }}/.github/workflows/ci-pytest.yaml@feature/gha