From 0731136e8bd54accc7614531d549a9b5db4cd361 Mon Sep 17 00:00:00 2001 From: Ashish Panwar Date: Sat, 16 Aug 2025 11:07:14 +0530 Subject: [PATCH 1/3] Create greetings.yml --- .github/workflows/greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..46774343e --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Message that will be displayed on users' first issue" + pr-message: "Message that will be displayed on users' first pull request" From dc9804c0fde2f1070d30f974a98891453775ef48 Mon Sep 17 00:00:00 2001 From: Ashish Panwar Date: Sat, 16 Aug 2025 11:26:55 +0530 Subject: [PATCH 2/3] Update custom-action.yml --- .github/workflows/custom-action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/custom-action.yml b/.github/workflows/custom-action.yml index 7a87b53f1..48c20e9b2 100644 --- a/.github/workflows/custom-action.yml +++ b/.github/workflows/custom-action.yml @@ -1,3 +1,5 @@ +name: Custom-Action + on: [push] jobs: @@ -12,4 +14,5 @@ jobs: name: 'Brown' # Use the output from the `hello` step - name: Get the Output - run: echo "The time was ${{ steps.hello.outputs.greeting }}" \ No newline at end of file + + run: echo "The time was ${{ steps.hello.outputs.greeting }}" From c619957fd2ad8083f844a5ca305c4b5e59586647 Mon Sep 17 00:00:00 2001 From: Ashish Panwar Date: Sat, 16 Aug 2025 11:58:16 +0530 Subject: [PATCH 3/3] Update custom-action.yml --- .github/workflows/custom-action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/custom-action.yml b/.github/workflows/custom-action.yml index 48c20e9b2..ab886fb84 100644 --- a/.github/workflows/custom-action.yml +++ b/.github/workflows/custom-action.yml @@ -1,6 +1,6 @@ name: Custom-Action -on: [push] +on: [push, workflow_dispatch] jobs: my-job: @@ -16,3 +16,4 @@ jobs: - name: Get the Output run: echo "The time was ${{ steps.hello.outputs.greeting }}" +