Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gewenyu99/canvas-deepdive
Browse files Browse the repository at this point in the history
  • Loading branch information
gewenyu99 committed Aug 11, 2024
2 parents 0f56335 + 84f1316 commit 68f86a8
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/pr-annotations.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
name: Annotate PR with trunk issues
name: CI

on:
workflow_run:
workflows: [Pull Request]
types: [completed]
push:
branches:
- main
- develop
pull_request:

permissions: read-all
# cancel in-progress runs on new commits to same PR (gitub.event.number)
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
trunk_check:
name: Trunk Check Annotate
Lint:
runs-on: ubuntu-latest

permissions:
checks: write

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3

- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
post-annotations: true # only for fork PRs



0 comments on commit 68f86a8

Please sign in to comment.