Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/slash_clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,31 @@ name: SlashClippy
on:
issue_comment:
types: [created]

permissions:
contents: write
issues: write
pull-requests: read
pull-requests: write

jobs:
dispatch:
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/clippy') }}
runs-on: ubuntu-latest

# job-specific permissions - required for reactions
permissions:
contents: write
issues: write
pull-requests: write

steps:
- uses: peter-evans/slash-command-dispatch@v4
- name: Dispatch Clippy Command
uses: peter-evans/slash-command-dispatch@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
commands: clippy
dispatch-type: repository
issue-type: pull-request
repository: ${{ github.repository }}
# Conditionally enable reactions only if the PR is not from a fork to avoid run failures
reactions: ${{ github.event.issue.pull_request.head.repo.full_name == github.repository && 'eyes' || '' }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

Welcome to Aria. Aria is a modern, dynamic scripting language. It is meant to be a "sweet spot" language, easy to pick-up and with a good balance between ease of use, safety, and flexibility. Aria's design choices help you build great programs quickly.

boom bang pop

Aria has modern, safer error handling: Aria replaces unreliable `None` pointer checks with a modern, multi-tiered approach to error handling. By emphasizing algebraic data types (e.g. `Maybe`), Aria makes errors explicit, safer, and easier to manage, with fewer runtime surprises.

`null`, the [billion dollar mistake](https://softwareengineering.stackexchange.com/questions/413149/if-null-is-a-billion-dollar-mistake-what-is-the-solution-to-represent-a-non-ini) just does not exist in Aria, making code safer, easier to maintain and error handling more robust.
Expand Down