Add tests using bats (Bash Automated Testing System) #23
This file contains hidden or 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
| name: Greet Contributors | |
| on: | |
| pull_request_target: | |
| types: [opened] | |
| issues: | |
| types: [opened] | |
| jobs: | |
| greeting: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Greet new contributor | |
| uses: actions/first-interaction@v1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| issue-message: | | |
| Hello @${{ github.actor }}, | |
| Thanks for opening your first issue in nm-hotspot-cli. | |
| A maintainer will review your issue soon. | |
| Please refer to CONTRIBUTING.md for guidelines. | |
| pr-message: | | |
| Thanks for opening your first pull request in nm-hotspot-cli, @${{ github.actor }}. | |
| A maintainer will review your contribution. Here's what happens next: | |
| 1. Automated checks will run | |
| 2. A maintainer will review your code | |
| 3. Changes may be requested | |
| 4. Once approved, your PR will be merged | |
| Please ensure: | |
| - Your code follows the project style guidelines | |
| - You have tested your changes | |
| - Documentation is updated if needed | |
| Thank you for contributing. |