forked from kubestellar/ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflow to enhance greeting messages for new c…
…ontributors and adjust permissions
- Loading branch information
Showing
1 changed file
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |