Skip to content

Commit

Permalink
Update GitHub Actions workflow to enhance greeting messages for new c…
Browse files Browse the repository at this point in the history
…ontributors and adjust permissions
  • Loading branch information
MAVRICK-1 committed Feb 7, 2025
1 parent 09f61f0 commit 86a7002
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/greeting.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
name: Greetings-New-Contributor

on: [pull_request, issues]
on:
pull_request:
issues:

jobs:
greeting:
runs-on: ubuntu-latest
permissions: write-all
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
👋 Hello! @${{ github.actor }} Welcome to the Kubestellar.
- name: Debugging Info
run: |
echo "Actor: ${{ github.actor }}"
echo "Repository: ${{ github.repository }}"
echo "Event Name: ${{ github.event_name }}"
- name: Greet New Contributor
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
👋 Hello! @${{ github.actor }} Welcome to the Kubestellar.
We're excited to have you here! Please make sure to check out our [contribution guide](./CONTRIBUTING.md) and feel free to join our [Slack channel](https://kubernetes.slack.com/archives/C058SUSL5AA) for any questions.
We're excited to have you here! Please make sure to check out our [contribution guide](./CONTRIBUTING.md) and feel free to join our [Slack channel](https://kubernetes.slack.com/archives/C058SUSL5AA) for any questions.
pr-message: |
👋 Hello! @${{ github.actor }} Welcome to the Kubestellar.
pr-message: |
👋 Hello! @${{ github.actor }} Welcome to the Kubestellar.
Thank you for submitting your first Pull Request to KubeStellar. We are delighted to have you in our Universe!
Please make sure to check out our [contribution guide](./CONTRIBUTING.md) and feel free to join our [Slack channel](https://kubernetes.slack.com/archives/C058SUSL5AA) for any questions.
Thank you for submitting your first Pull Request to KubeStellar. We are delighted to have you in our Universe!
Please make sure to check out our [contribution guide](./CONTRIBUTING.md) and feel free to join our [Slack channel](https://kubernetes.slack.com/archives/C058SUSL5AA) for any questions.

0 comments on commit 86a7002

Please sign in to comment.