From dec990d3165593a6f242354f04954415e7bd31cf Mon Sep 17 00:00:00 2001 From: Chethan Date: Wed, 20 Mar 2024 21:46:20 +0530 Subject: [PATCH] test commit --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..dc3c3de --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: + pull_request: + types: + - opened + - synchronize + - edited + +jobs: + print_title_of_pr: + runs-on: ubuntu-20.04 + env: + PR_TITLE: ${{ github.event.pull_request.title }} + steps: + - name: Print Title of PR + run: | + echo "${PR_TITLE}" + + - name: Print Title of PR2 + run: | + echo "::error::Hotfix PR title does not match any of the Original PR titles. Hotfix PR title: '${PR_TITLE}'" + + - name: Print Title of PR2 + run: | + echo '::error::Hotfix PR title does not match any of the Original PR titles. Hotfix PR title: '${PR_TITLE}''