refactor(computegraph): remove compute_with_context
and compute_untyped_with_context
#249
Workflow file for this run
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: Lint Pull Request Title | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
permissions: | |
contents: read | |
pull-requests: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
main: | |
name: Validate PR title | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Generate scopes from folder structure | |
id: generate-scopes | |
run: | | |
scopes=$(ls -d ./crates/*/ | xargs -n1 basename) | |
# Add additional scopes here: | |
scopes+=$'\n'ci | |
scopes+=$'\n'docs | |
echo "scopes<<EOF" >> $GITHUB_OUTPUT | |
echo "$scopes" >> $GITHUB_OUTPUT | |
echo "EOF" >> $GITHUB_OUTPUT | |
- name: Validate PR title | |
uses: amannn/action-semantic-pull-request@v5 | |
with: | |
scopes: ${{ steps.generate-scopes.outputs.scopes }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |