Skip to content

πŸ€– SOberdorfer is validating PR #1

πŸ€– SOberdorfer is validating PR

πŸ€– SOberdorfer is validating PR #1

Workflow file for this run

name: On-Pull-Request
run-name: πŸ€– ${{ github.actor }} is validating PR
on:
push:
branches:
- feature/*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }}
cancel-in-progress: true
jobs:
artifact-version:
runs-on: ubuntu-latest
outputs:
package: ${{ steps.package.artifact-version }}
steps:
- name: πŸ“₯ Checkout
uses: actions/checkout@v4
- name: πŸ“¦ Retrieve Artifact-version from package
id: package
run: |
ARTIFACT_VERSION=$(jq -r '.version' package.json)
BASE_REF=$(echo "${{ github.base_ref }}" | cut -d'/' -f2-)
if [ -z "$BASE_REF" ]; then
BASE_REF="$((minutes=$(date +%s)/60))"
fi
echo "πŸ“ Retrieved version: $ARTIFACT_VERSION" >> $GITHUB_STEP_SUMMARY
echo "artifact-version=${ARTIFACT_VERSION}-" >> $GITHUB_OUTPUT
artifact-build:
uses: ./.github/workflows/rwf_build.yml
with:
environment: test
artifact-name: my-cool-app
artifact-version: ${{ }}

Check failure on line 37 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / On-Pull-Request

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request.yml (Line: 37, Col: 25): An expression was expected
secrets: inherit