Add comment to PR #22
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
name: Pull Request | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Ensure Files Changed | |
uses: danieljimeneznz/[email protected] | |
with: | |
require-changes-to: | |
prevent-changes-to: | | |
*.toml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Aasdf asdf | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
// Get a list of all issues created by the PR opener | |
await github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: `**Welcome**, new contributor! | |
Please make sure you've read our [contributing guide](CONTRIBUTING.md) and we look forward to reviewing your Pull request shortly ✨` | |
}) | |
- name: Format | |
run: cargo fmt --verbose | |
- name: Lint | |
run: cargo clippy --verbose | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: cargo test --verbose |