From 661cba4364997f1c2cfab1b318048289b7e04a00 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Thu, 21 Dec 2023 19:38:28 +1300 Subject: [PATCH 1/2] add main workflow --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7f4da08 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: mshick/add-pr-comment@v2 + with: + message: | + **Hello MAIN** \ No newline at end of file From f2510c99d486e228873d91dcdb27fde57ee046a1 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Thu, 21 Dec 2023 19:53:37 +1300 Subject: [PATCH 2/2] change message --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f4da08..9e4bd47 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,4 +12,5 @@ jobs: - uses: mshick/add-pr-comment@v2 with: message: | - **Hello MAIN** \ No newline at end of file + **❗❗this pull request is a release to `main`** + Make sure you DON'T SQUASH AND MERGE \ No newline at end of file