Skip to content

skill/hook: merge additionalContext from multiple handlers #268

skill/hook: merge additionalContext from multiple handlers

skill/hook: merge additionalContext from multiple handlers #268

Workflow file for this run

name: pr
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: make ci
shell: bash -x {0}
run: bin/make -j ci
update:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 20
- id: update-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUMBER: ${{ github.event.number }}
run: ./bin/cosmic --skill pr