From d1a96714112fbb2efa6030249f035459cf43cbf7 Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Thu, 30 Jan 2025 17:00:22 +0200 Subject: [PATCH] add sample PR check Signed-off-by: Mykhailo Kuznietsov --- .github/workflows/pr-check.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/pr-check.yaml diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml new file mode 100644 index 0000000000..d49a18b370 --- /dev/null +++ b/.github/workflows/pr-check.yaml @@ -0,0 +1,29 @@ +# +# Copyright (c) 2025 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# + +name: Pull Request Check + +# Trigger the workflow on pull request +on: [pull_request] + +jobs: + + build: + name: build + runs-on: ubuntu-22.04 + steps: + + - name: Checkout + uses: actions/checkout@v4 + + - name: Test secrets + run: | + MY_VAL="-${{ secrets.TEST_SECRET }}-" + echo "Test secret: ${MY_VAL}" +